diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-07-19 22:15:40 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-07-19 22:15:40 +0200 |
commit | e3ad7b099aac5f33d8a6d719da656ae3c04d5a69 (patch) | |
tree | 7864702844a640ca42c211f861140ec757cd9a8e /main | |
parent | 8e4f8514ceca4b8c17931a65823cee72bf56f50e (diff) | |
download | aports-e3ad7b099aac5f33d8a6d719da656ae3c04d5a69.tar.bz2 aports-e3ad7b099aac5f33d8a6d719da656ae3c04d5a69.tar.xz |
testing/s6: move to main
Diffstat (limited to 'main')
-rw-r--r-- | main/s6/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
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 <john@jrjrtech.com> +# Maintainer: John Regan <john@jrjrtech.com> +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" |