mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 01:56:37 +02:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Contributor: Christian Kampka <christian@kampka.net>
|
|
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
pkgname=s6-linux-utils
|
|
pkgver=2.6.2.1
|
|
pkgrel=0
|
|
pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size."
|
|
url=https://skarnet.org/software/s6-linux-utils/
|
|
arch="all"
|
|
license="ISC"
|
|
options="!check"
|
|
_skalibs_version=2.14.3
|
|
makedepends="skalibs-dev>=$_skalibs_version linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="https://skarnet.org/software/s6-linux-utils/s6-linux-utils-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--enable-shared \
|
|
--disable-allstatic \
|
|
--prefix=/usr \
|
|
--enable-multicall
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm "$pkgdir"/usr/include/s6-linux-utils/config.h
|
|
rmdir -p "$pkgdir"/usr/include/s6-linux-utils || :
|
|
|
|
mkdir -p "$pkgdir/usr/share/doc"
|
|
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
d3f796c1edc0de6e289b7b82e8c97ea58e80d0bcb2e4731a5c2c25cf4abfbd91318e33ab48956bc6e7b2f188c622bb33def72e96f22f9448778ede5ac829c940 s6-linux-utils-2.6.2.1.tar.gz
|
|
"
|