mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=check
|
|
pkgver=0.9.14
|
|
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
|
|
}
|
|
|
|
md5sums="38263d115d784c17aa3b959ce94be8b8 check-0.9.14.tar.gz"
|
|
sha256sums="c272624645b1b738cf57fd5d81a3e4d9b722b99d6133ee3f3c4007d4d279840a check-0.9.14.tar.gz"
|
|
sha512sums="fba3e54e36c2fdff465eadaa96e7a5bbafd5d7de7594dfe90e71c3a0bf7fb0f5e6d1b242ade55e49ef83c4a97fcf607dc53c7d04de9b4d764ea795a46e7c7be0 check-0.9.14.tar.gz"
|