diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-07-19 22:15:30 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-07-19 22:15:30 +0200 |
commit | 8e4f8514ceca4b8c17931a65823cee72bf56f50e (patch) | |
tree | 957df25596c0bb489458b721859ef20389647d4c /main/execline | |
parent | d9636ab585ea8c3cceb640fb3d5a0e008ad14f8c (diff) | |
download | aports-8e4f8514ceca4b8c17931a65823cee72bf56f50e.tar.bz2 aports-8e4f8514ceca4b8c17931a65823cee72bf56f50e.tar.xz |
testing/execline: move to main
Diffstat (limited to 'main/execline')
-rw-r--r-- | main/execline/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/main/execline/APKBUILD b/main/execline/APKBUILD new file mode 100644 index 000000000..88237f686 --- /dev/null +++ b/main/execline/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: John Regan <john@jrjrtech.com> +# Maintainer: John Regan <john@jrjrtech.com> +pkgname=execline +pkgver=2.1.1.1 +pkgrel=0 +pkgdesc="A small scripting language, to be used in place of a shell in non-interactive scripts." +url="http://skarnet.org/software/$pkgname/" +arch="all" +license="ISC" +depends="skalibs" +depends_dev="skalibs-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="e0e47ee6715c3a9b1f322ac1124c3a12 execline-2.1.1.1.tar.gz" +sha256sums="05e1a7327f37ab633e854ffa162e01bef85cda655d90e11b4b30a11ce989b97c execline-2.1.1.1.tar.gz" +sha512sums="b5e09a4a8061042bbea82ce4ae3e954b86761a2aeb651345938e67b1ff9a3fff81c5bf40095a4f848b2e3c2905946b3c2a52fdb8496fbb42f89a820d39667a49 execline-2.1.1.1.tar.gz" |