aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6-linux-utils
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-09-27 19:33:57 +0200
committerEivind Uggedal <eivind@uggedal.com>2015-10-01 14:38:51 +0000
commit8578a7764dd634ec19f42b345e42c9d64be15f12 (patch)
treec2437f791ee484b8c3e91b91a3169734689a03b8 /main/s6-linux-utils
parent9e7463375e1dfec772de3f705893968bef47b511 (diff)
downloadaports-8578a7764dd634ec19f42b345e42c9d64be15f12.tar.bz2
aports-8578a7764dd634ec19f42b345e42c9d64be15f12.tar.xz
main/s6-linux-utils: moved from testing
Diffstat (limited to 'main/s6-linux-utils')
-rw-r--r--main/s6-linux-utils/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/main/s6-linux-utils/APKBUILD b/main/s6-linux-utils/APKBUILD
new file mode 100644
index 0000000000..31de88a252
--- /dev/null
+++ b/main/s6-linux-utils/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Christian Kampka <christian@kampka.net>
+# Maintainer: Christian Kampka <christian@kampka.net>
+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"