aboutsummaryrefslogtreecommitdiffstats
path: root/main/execline/APKBUILD
blob: 5fed4e6c71071356028e11259883cd25b74b57d7 (plain)
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
38
39
40
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: John Regan <john@jrjrtech.com>
pkgname=execline
pkgver=2.6.0.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"
options="!check"
makedepends="skalibs-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/execline/execline-$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--enable-static \
		--disable-allstatic \
		--libdir=/usr/lib \
		--with-dynlib=/lib
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

doc() {
	default_doc
	mkdir -p "$subpkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}

static() {
	default_static
	rmdir -p "$pkgdir"/usr/lib || :
}

sha512sums="2d9013bd500a4ebc9cb4c39eea2fc00ddad7aed889cd5dafe45787117fdac9549642c5fede31370bc4b3f12f4a08ba8438ebcc9b05222a7eb3dc5a82a1bd8a25  execline-2.6.0.1.tar.gz"