aports/main/s6-portable-utils/APKBUILD
2025-05-07 04:42:30 +00:00

36 lines
1,003 B
Text

# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
pkgname=s6-portable-utils
pkgver=2.3.1.0
pkgrel=0
pkgdesc="skarnet.org's tiny portable generic utilities"
url=https://skarnet.org/software/s6-portable-utils/
arch="all"
license="ISC"
_skalibs_version=2.14.4
makedepends="skalibs-dev>=${_skalibs_version}"
options="!check"
subpackages="$pkgname-doc"
source="https://skarnet.org/software/s6-portable-utils/s6-portable-utils-$pkgver.tar.gz"
build() {
./configure \
--enable-shared \
--disable-allstatic \
--prefix=/usr \
--with-pkgconfig \
--enable-multicall
make
}
package() {
make DESTDIR="$pkgdir" install
rm "$pkgdir/usr/include/s6-portable-utils/config.h"
rmdir -p "$pkgdir/usr/include/s6-portable-utils" || :
mkdir -p "$pkgdir/usr/share/doc"
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}
sha512sums="
80ab6152d5c3f88449d77924ceb43ccef12a41918d2fd8042ded15423b8f65e612d582c6475d73c500380018a91f7adc48c71740c898015565a046a8fbef1cd5 s6-portable-utils-2.3.1.0.tar.gz
"