# Contributor: Eivind Uggedal # Maintainer: Eivind Uggedal pkgname=s6-rc pkgver=0.0.1.1 pkgrel=0 pkgdesc="A service manager for s6-based systems" url="http://skarnet.org/software/s6-rc/" arch="all" license="ISC" depends="s6" depends_dev="skalibs-dev execline-dev s6-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 } md5sums="9c1bcf8dbb89c3d46477104600dbb233 s6-rc-0.0.1.1.tar.gz" sha256sums="bf9b5350c47d4eb018c8a1334bf2746ce448c1470fc842e00d56a85f3c9c8eb3 s6-rc-0.0.1.1.tar.gz" sha512sums="c3b496bd7b171581ed0b1ab9f9bf5de8d04ee7ddb201b8e99f7197ba685b4a5a210f4f26ecd797c6c5306db6ccfab7c7bf0cc58d6534917c297dc2c8d81225a9 s6-rc-0.0.1.1.tar.gz"