summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2018-08-18 12:51:51 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2018-08-18 12:51:51 +0000
commitd96a75f470e251e85e3adb714fb06550d22fb0ff (patch)
tree8e3f69a4f632a5c9b557667d995edb959ae7277f /user
parent49ffb8ba99257a96941e17f517d5955eaaad62b7 (diff)
downloadpackages-d96a75f470e251e85e3adb714fb06550d22fb0ff.tar.gz
packages-d96a75f470e251e85e3adb714fb06550d22fb0ff.tar.bz2
packages-d96a75f470e251e85e3adb714fb06550d22fb0ff.tar.xz
packages-d96a75f470e251e85e3adb714fb06550d22fb0ff.zip
user/s6-networking: new package
Diffstat (limited to 'user')
-rw-r--r--user/s6-networking/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/s6-networking/APKBUILD b/user/s6-networking/APKBUILD
new file mode 100644
index 000000000..39b08026f
--- /dev/null
+++ b/user/s6-networking/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
+# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
+pkgname=s6-networking
+pkgver=2.3.0.3
+pkgrel=0
+pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities."
+url="https://skarnet.org/software/$pkgname/"
+arch="all"
+license="ISC"
+options="!check" # No test suite.
+depends_dev="skalibs-dev bearssl-dev"
+makedepends="skalibs-dev execline-dev s6-dev s6-dns-dev bearssl-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --enable-shared \
+ --enable-static \
+ --disable-allstatic \
+ --prefix=/usr \
+ --libexecdir="/usr/lib/$pkgname" \
+ --with-dynlib=/lib \
+ --enable-ssl=bearssl
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+doc() {
+ default_doc
+ mkdir -p "$subpkgdir/usr/share/doc"
+ cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
+}
+
+sha512sums="f710c8c67b88523d4d461ab775ad3a56ca148e0e5ee4c02fe40d0783ff43af8779e598548db5048cc32852be6659f2feb7ac29ba07a953daa0039cec0fc14762 s6-networking-2.3.0.3.tar.gz"