aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s6-networking
diff options
context:
space:
mode:
authorJohn Regan <john@jrjrtech.com>2015-02-25 14:45:06 -0500
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-02-26 08:02:53 +0000
commit5d7abafcc9cb936f7c0bf5bb361f5df5227c8b63 (patch)
treec421ba693f2f431f00aec527b5195eb5a60d3d45 /testing/s6-networking
parent328b896e86652be7b8b373cbcdffb356f910810b (diff)
downloadaports-5d7abafcc9cb936f7c0bf5bb361f5df5227c8b63.tar.bz2
aports-5d7abafcc9cb936f7c0bf5bb361f5df5227c8b63.tar.xz
testing/s6-networking: new aport
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/s6-networking')
-rw-r--r--testing/s6-networking/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/s6-networking/APKBUILD b/testing/s6-networking/APKBUILD
new file mode 100644
index 0000000000..bd13fac501
--- /dev/null
+++ b/testing/s6-networking/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: John Regan <john@jrjrtech.com>
+# Maintainer: John Regan <john@jrjrtech.com>
+pkgname=s6-networking
+pkgver=2.1.0.0
+pkgrel=0
+pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities."
+url="http://skarnet.org/software/$pkgname/"
+arch="all"
+license="ISC"
+depends="skalibs execline s6 s6-dns"
+depends_dev="skalibs-dev execline-dev s6-dev s6-dns-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 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="bd5654aa9b2c1a2449a454fc13a33f0c s6-networking-2.1.0.0.tar.gz"
+sha256sums="be75bddad884287c442900e10417c63980788ca1c5bae4188b64b375efba734d s6-networking-2.1.0.0.tar.gz"
+sha512sums="10cf5c1512d69cdb5d6750441e91e7cab9b696f53d51ba070dac82d127bd731fdfabdf1cbf610307f4808247e2a58bc388dbd95ef45db61d4b59d1cfb7be2b10 s6-networking-2.1.0.0.tar.gz"