# Contributor: John Regan # Maintainer: John Regan pkgname=execline pkgver=2.1.4.4 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 } md5sums="f2fef90719507905217ce6a68f80dc33 execline-2.1.4.4.tar.gz" sha256sums="b9c4b4905e17a7caa4f187d62ce0755644a478ec9ea7f13f7bdbaca3c91ce425 execline-2.1.4.4.tar.gz" sha512sums="85420725dfde0147279a14f8f19d642c1bee2b123a002f2233f2d72db35bce63ab76077c92d4705b980f6f44a3ba2a8ffb0f9bddac2d8a189af26e0e823a363d execline-2.1.4.4.tar.gz"