void-packages/srcpkgs/execline/template
2018-04-02 23:17:21 +02:00

38 lines
1,011 B
Bash

# Template file for 'execline'
pkgname=execline
version=2.5.0.0
revision=2
build_style=gnu-configure
makedepends="skalibs-devel"
configure_args="--libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib"
short_desc="A non-interactive scripting language"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="ISC"
homepage="http://skarnet.org/software/execline/"
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f6993094766652041c21fde9c07ef53a3cd4b93a64123d9578fb4997a2cefca1
CFLAGS="-fPIC"
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
execline-doc_package() {
noarch=yes
short_desc+=" - Documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
execline-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib
}
}