blob: 3b7b17deea565e062c92d03a846151871fc48640 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
|