# Contributor: John Regan # Maintainer: John Regan pkgname=s6 pkgver=2.1.3.0 pkgrel=0 pkgdesc="skarnet.org's small & secure supervision software suite." url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs execline" depends_dev="skalibs-dev execline-dev" makedepends="$depends_dev" 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 rm -f "$pkgdir"/usr/lib/*.la } md5sums="c810a7f480004fb4384a6b6b86311401 s6-2.1.3.0.tar.gz" sha256sums="73057df188f1ac8db186b96298c0cb6081199aa73d3f2f8d5fabdbbe21c3ea04 s6-2.1.3.0.tar.gz" sha512sums="f5b962fb9f36a910fd8b56b1158cc28d1dab808f22f6beb309b8c23dab1863409aaecd2e3806b51ec34aef1c70f117d3b8af4c7167e0e854f6925fe278cdcaca s6-2.1.3.0.tar.gz"