mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
37 lines
1.4 KiB
Text
37 lines
1.4 KiB
Text
# Contributor: John Regan <john@jrjrtech.com>
|
|
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
|
|
pkgname=execline
|
|
pkgver=2.9.6.1
|
|
pkgrel=0
|
|
pkgdesc="A small scripting language, to be used in place of a shell in non-interactive scripts."
|
|
url=https://skarnet.org/software/execline/
|
|
arch="all"
|
|
license="ISC"
|
|
options="!check"
|
|
_skalibs_version=2.14.3
|
|
makedepends="skalibs-dev>=$_skalibs_version"
|
|
subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-doc"
|
|
source="https://skarnet.org/software/execline/execline-$pkgver.tar.gz execline.pc.in"
|
|
install="execline.post-install execline.post-upgrade execline.pre-deinstall"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--disable-allstatic \
|
|
--enable-multicall
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc"
|
|
install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc"
|
|
mkdir -p "$pkgdir/usr/share/doc"
|
|
cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
86e20a63926cc03cb81e07c9cbea9da5d0384436a82b93e331da6b3ced33829baf5adae4286d2c053b21474d41602d53804ff0bc280da60f7bccc64cbe5f601e execline-2.9.6.1.tar.gz
|
|
54026153ee1b96357bdf4614c520a287b34db1ded012cb563240c1292daea33af6da6b39a051ad18dd5b53a1d42c25cc109185ce83c8cbc67fcb098a9418d78e execline.pc.in
|
|
"
|