# Maintainer: Laurent Bercot # Contributor: Christian Kampka pkgname=s6-linux-utils pkgver=2.1.0.0 pkgrel=0 pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" depends_dev="skalibs-dev" makedepends="$depends_dev linux-headers" install="" subpackages="$pkgname-dev" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="fe368efa0111ae2e7aec3081b1053165 s6-linux-utils-2.1.0.0.tar.gz" sha256sums="3523ba84ba524198711b2de3edaaf620381a4e95d78ec6d13dcb7aba42397ead s6-linux-utils-2.1.0.0.tar.gz" sha512sums="a2bd997334b69c7d864ea14dd27af7b62c8a7b6ccf8f9431ed87f46590546e540a06577f04d2cf3e52299cd9819a31e926326862d751b8528bc98ec2f4e93913 s6-linux-utils-2.1.0.0.tar.gz"