blob: d9b7550654b06c974e4e95aad2b5e3e12fb7d715 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=cunit
_pkgname=CUnit
pkgver=2.1.3
_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
pkgdesc="Automated testing framework for C"
url="http://cunit.sourceforge.net/"
arch="all"
license="LGPL-2.0+"
depends=""
makedepends="automake autoconf libtool bash"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/$pkgname/$_pkgname/$_pkgver/$_pkgname-$_pkgver.tar.bz2
path-makefile.patch
"
builddir="$srcdir/$_pkgname-$_pkgver"
prepare() {
default_prepare
./bootstrap
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--includedir=/usr/include \
--datarootdir=/usr/share \
--libdir=/usr/lib \
--enable-debug \
--enable-examples \
--enable-automated \
--enable-basic \
--enable-test \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="547b417109332446dfab8fda17bf4ccd2da841dc93f824dc90a20635bcf1fb80fb2176500d8a0906940f3f3d3e2f77b2d70a71090c9ab84ad9af43f3582bc487 CUnit-2.1-3.tar.bz2
1a4e670c8eeb1b2b19c079cdb2d025a688c76e8eba19ff54a4737d9cf18c22656fe83af2c728111ceb5740601bf48edf9d1537397369c4c3c78397849361169f path-makefile.patch"
|