aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/s6-rc/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/s6-rc/APKBUILD b/testing/s6-rc/APKBUILD
new file mode 100644
index 0000000000..1531510a6c
--- /dev/null
+++ b/testing/s6-rc/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Eivind Uggedal <eivind@uggedal.com>
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=s6-rc
+pkgver=0.0.1.0
+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="b4a5f6a8d07b09bd6a53bb02d3168eaf s6-rc-0.0.1.0.tar.gz"
+sha256sums="7cbef52ed74d6bda1827395c116d808b4e0202b7e73dc3e37d080041142e9e3a s6-rc-0.0.1.0.tar.gz"
+sha512sums="cd584fb83910743436961452e87a53c3fcef04dce06c0b45d9811673059da7d37378c4b61ec26671bcae5de9fcac6eddea97ec4cdd06e62c08047c0f49853df5 s6-rc-0.0.1.0.tar.gz"