# Contributor: Christian Kampka # Maintainer: Christian Kampka pkgname=s6-linux-utils pkgver=2.0.2.2 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 \ --build=$CBUILD \ --host=$CHOST \ --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="d103b1770c914e801b5aaef4f3dbfecf s6-linux-utils-2.0.2.2.tar.gz" sha256sums="ed666f14bcf6428bbb34c39281a08b698fb3d9458a77f4d47ccbf72c9ef68b13 s6-linux-utils-2.0.2.2.tar.gz" sha512sums="8188ab19e666fe4b9e501cdd4f28a59be634f5ff628043a3929744bff56aa13f40258180344c27f3b0af4c0c93106da34609ab556ed481685e919db707b01a69 s6-linux-utils-2.0.2.2.tar.gz"