# Contributor: John Regan # Maintainer: John Regan pkgname=execline pkgver=2.1.3.0 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="ebbd19b711ec2f133375a598bfe84557 execline-2.1.3.0.tar.gz" sha256sums="572448cf236ce7a17f8666b4bb05f3319fe6b559d7f89b797659886bdf21e54f execline-2.1.3.0.tar.gz" sha512sums="2e8506420b64b06bdef9b667c7ab12cebabb2d9b6b22588b0c160509f169c9ee0d6542cc0e21c64393337f89e560d6fbad809c5d258db4cd288d119345054856 execline-2.1.3.0.tar.gz"