mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
39 lines
1003 B
Plaintext
39 lines
1003 B
Plaintext
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
# Contributor: John Regan <john@jrjrtech.com>
|
|
pkgname=execline
|
|
pkgver=2.5.0.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"
|
|
options="!check"
|
|
makedepends="skalibs-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
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"
|