aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s6-linux-utils
diff options
context:
space:
mode:
authorJohn Regan <john@jrjrtech.com>2015-02-25 14:44:43 -0500
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-02-26 08:02:53 +0000
commit328b896e86652be7b8b373cbcdffb356f910810b (patch)
tree366d65fabf554222f006081d07125b706a9405e3 /testing/s6-linux-utils
parent8edb6c36682ca19a7f31a2672887dc011c21f599 (diff)
downloadaports-328b896e86652be7b8b373cbcdffb356f910810b.tar.bz2
aports-328b896e86652be7b8b373cbcdffb356f910810b.tar.xz
testing/s6-linux-utils: new aport
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/s6-linux-utils')
-rw-r--r--testing/s6-linux-utils/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/s6-linux-utils/APKBUILD b/testing/s6-linux-utils/APKBUILD
new file mode 100644
index 0000000000..e4fb564297
--- /dev/null
+++ b/testing/s6-linux-utils/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: John Regan <john@jrjrtech.com>
+# Maintainer: John Regan <john@jrjrtech.com>
+pkgname=s6-linux-utils
+pkgver=2.0.0.1
+pkgrel=0
+pkgdesc="skarnet.org's ~inux-specific utilities."
+url="http://skarnet.org/software/$pkgname/"
+arch="all"
+license="ISC"
+depends="skalibs"
+depends_dev="skalibs-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="200f0dbb99c50926ebcb60accbbdcd80 s6-linux-utils-2.0.0.1.tar.gz"
+sha256sums="a2f2bdddd42fd8cb764ad4e83cf5162d6e68221bf0d37867f4bc32f748d8bf9c s6-linux-utils-2.0.0.1.tar.gz"
+sha512sums="5b089dc3c1095fd91fceac0ed383466dc3c7e5822fb7597caaceb37d2d116bf085046f9a5ad307badb1b9e1c4a8341e4307fa1177f421b0f47d924beaf713c9d s6-linux-utils-2.0.0.1.tar.gz"