# Contributor: John Regan # Maintainer: John Regan 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"