aports/testing/libite/APKBUILD
David Demelier cb1f7953c2 testing/libite: new aport
https://github.com/troglobit/libite
that missing frog DNA you've been looking for
2021-07-12 15:08:58 +00:00

43 lines
986 B
Plaintext

# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libite
pkgver=2.4.0
pkgrel=0
pkgdesc="that missing frog DNA you've been looking for"
url="https://github.com/troglobit/libite"
arch="all"
license="MIT"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/troglobit/libite/releases/download/v$pkgver/libite-$pkgver.tar.xz"
prepare() {
default_prepare
# Remove a test that does not work on chroot builds.
sed -i -e "/tempfile/d" tests/Makefile.am
autoreconf -vif
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
8e79084b616150dd4de491c6b8441d5043c81cf161bb655a32b6b7f8536682b967f4810870d8af4ae92780dedb7302bbc8db093036493506c88126143cb9bbef libite-2.4.0.tar.xz
"