aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6-portable-utils
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-09-27 19:33:54 +0200
committerEivind Uggedal <eivind@uggedal.com>2015-10-01 14:38:51 +0000
commit9e7463375e1dfec772de3f705893968bef47b511 (patch)
tree0ed1e5265aed323119aa4c48ea121cc0f1727d53 /main/s6-portable-utils
parent17e1f1f168876bde95b1163aea68a80e39c86dd2 (diff)
downloadaports-9e7463375e1dfec772de3f705893968bef47b511.tar.bz2
aports-9e7463375e1dfec772de3f705893968bef47b511.tar.xz
main/s6-portable-utils: move from testing and upgrade to 2.0.5.2
Diffstat (limited to 'main/s6-portable-utils')
-rw-r--r--main/s6-portable-utils/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/main/s6-portable-utils/APKBUILD b/main/s6-portable-utils/APKBUILD
new file mode 100644
index 000000000..fd00ee2c5
--- /dev/null
+++ b/main/s6-portable-utils/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: John Regan <john@jrjrtech.com>
+# Maintainer: John Regan <john@jrjrtech.com>
+pkgname=s6-portable-utils
+pkgver=2.0.5.2
+pkgrel=0
+pkgdesc="skarnet.org's tiny portable generic 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
+}
+
+md5sums="bda96373eda48b61c6283439a7619a36 s6-portable-utils-2.0.5.2.tar.gz"
+sha256sums="f54b52628efb1406f05a774fe67793a1f0cd18447e8160452579a9603edead34 s6-portable-utils-2.0.5.2.tar.gz"
+sha512sums="6d07ae6c1f4ccc49cd40827dce15d1578f91fc89d68ab2267dfe2946422d66b044989f2e7885a2aa9761fe9e3ca1b34c7f2c228526fec204c13e77f1e3dcd4fc s6-portable-utils-2.0.5.2.tar.gz"