summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:31:03 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:31:03 -0500
commit0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962 (patch)
tree579bba3a4a98af4cda1679045526be2df64d7f82 /system
parent4f92745341d470940ab983629d5c8deb9d93b54b (diff)
downloadpackages-0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962.tar.gz
packages-0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962.tar.bz2
packages-0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962.tar.xz
packages-0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962.zip
system/execline: new package
Diffstat (limited to 'system')
-rw-r--r--system/execline/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/system/execline/APKBUILD b/system/execline/APKBUILD
new file mode 100644
index 000000000..3b7b17dee
--- /dev/null
+++ b/system/execline/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: John Regan <john@jrjrtech.com>
+# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
+pkgname=execline
+pkgver=2.5.0.0
+pkgrel=0
+pkgdesc="A small scripting language for non-interactive scripts"
+url="http://skarnet.org/software/$pkgname/"
+arch="all"
+options="!check" # No test suite.
+license="ISC"
+makedepends="skalibs-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --enable-shared \
+ --enable-static \
+ --disable-allstatic \
+ --libdir=/usr/lib \
+ --with-dynlib=/lib
+ 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="ac0e42da202bf9b46caeecd344a2de43d8825b0857159614a937c0f711f084b55378a80738346306e202aafcce78f38fce0aa020d4a67ee104d901c679e1574b execline-2.5.0.0.tar.gz"