diff options
author | John Regan <john@jrjrtech.com> | 2015-02-25 14:44:20 -0500 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-02-26 08:02:53 +0000 |
commit | 856175b4f38d8c8a510354a67af63297c347e310 (patch) | |
tree | c88c16f823475b6b33ffd1b344728fe1687a2c0a /testing | |
parent | be674964355f8bd70e20f579978a668d2e856e89 (diff) | |
download | aports-856175b4f38d8c8a510354a67af63297c347e310.tar.bz2 aports-856175b4f38d8c8a510354a67af63297c347e310.tar.xz |
testing/s6: new aport
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/s6/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/s6/APKBUILD b/testing/s6/APKBUILD new file mode 100644 index 0000000000..d16039a4bb --- /dev/null +++ b/testing/s6/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: John Regan <john@jrjrtech.com> +# Maintainer: John Regan <john@jrjrtech.com> +pkgname=s6 +pkgver=2.1.1.2 +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="8a13d65fa19f46a396110d2834461cd7 s6-2.1.1.1.tar.gz" +sha256sums="857c841cb80935a945347c768981b729f11a6a441140744f58f3e3316b9ef336 s6-2.1.1.1.tar.gz" +sha512sums="74b4e925ad43fe2510b06d779327b875834080d77890601600045d4a8269ca26e32b0624674b0416442b11bdd7b8e7b64c391f0f7c0ba871eedecd72976fa57a s6-2.1.1.1.tar.gz" |