summaryrefslogtreecommitdiff
path: root/system/execline/APKBUILD
blob: 766903e64b0defcbbe5750890dfc0b6de3f22820 (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
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=execline
pkgver=2.9.5.0
pkgrel=0
pkgdesc="A small scripting language for non-interactive scripts"
url="https://skarnet.org/software/execline/"
arch="all"
options="!check"  # No test suite.
license="ISC"
_skalibs_version=2.14
makedepends="skalibs-dev>=$_skalibs_version"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

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

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="a625dbf8d8ee461aaa4e8a1482ea4f5925c6e37ebd0c68fc39df8ebd25ed2d24769b36e9370a3b44eb6891ed7dc7954db998aa16b3a83d46e04bf1acce5570ca  execline-2.9.5.0.tar.gz"