# Contributor: Christian Kampka # Maintainer: Christian Kampka pkgname=s6-linux-utils pkgver=2.0.2.3 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="e4ae28e1ca13d9cd7a226a2729c71bbf s6-linux-utils-2.0.2.3.tar.gz" sha256sums="f959ffb9bb79865018becc6664d29faef22cb747a43db252879e11886b1b8cc3 s6-linux-utils-2.0.2.3.tar.gz" sha512sums="10d919c67036dbd57ed8d0e2ba46e1957c621414cae2326c2c696a27b46496d928aa768465236585ed8be279a2866cc9a519f9feb51b9757f999e9b8b80faf2d s6-linux-utils-2.0.2.3.tar.gz"