blob: 1aa23ee5b4207ccc9db1ee23a1e20889063dae9b (
plain)
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=check
pkgver=0.9.12
pkgrel=0
pkgdesc="A unit test framework for C"
url="http://check.sourceforge.net/"
arch="all"
license="LGPL2+"
depends=""
depends_dev="pkgconfig"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/check/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="46fe540d1a03714c7a1967dbc6d484e7 check-0.9.12.tar.gz"
sha256sums="c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3 check-0.9.12.tar.gz"
sha512sums="698e6cfdf24b07340fb4fa77f49811053f8307d3baca8bdcdde5e3dfe1f910bbadb6a393f03020d8b18c22e7e164d40f6bbbeb9659908b0df8459e5c4850fa50 check-0.9.12.tar.gz"
|