From e3ad7b099aac5f33d8a6d719da656ae3c04d5a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Sun, 19 Jul 2015 22:15:40 +0200 Subject: testing/s6: move to main --- main/s6/APKBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 main/s6/APKBUILD (limited to 'main/s6/APKBUILD') diff --git a/main/s6/APKBUILD b/main/s6/APKBUILD new file mode 100644 index 0000000000..087fbd1911 --- /dev/null +++ b/main/s6/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: John Regan +# Maintainer: John Regan +pkgname=s6 +pkgver=2.1.3.0 +pkgrel=0 +pkgdesc="skarnet.org's small & secure supervision software suite." +url="http://skarnet.org/software/$pkgname/" +arch="all" +license="ISC" +depends="skalibs execline" +depends_dev="skalibs-dev execline-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="c810a7f480004fb4384a6b6b86311401 s6-2.1.3.0.tar.gz" +sha256sums="73057df188f1ac8db186b96298c0cb6081199aa73d3f2f8d5fabdbbe21c3ea04 s6-2.1.3.0.tar.gz" +sha512sums="f5b962fb9f36a910fd8b56b1158cc28d1dab808f22f6beb309b8c23dab1863409aaecd2e3806b51ec34aef1c70f117d3b8af4c7167e0e854f6925fe278cdcaca s6-2.1.3.0.tar.gz" -- cgit v1.2.3