40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'execline'
|
|
pkgname=execline
|
|
version=2.3.0.4
|
|
revision=1
|
|
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=e4bb8fc8f20cca96f4bac9f0f74ebce5081b4b687bb11c79c843faf12507a64b
|
|
conflicts="ImageMagick" # /usr/bin/import
|
|
|
|
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
|
|
}
|
|
}
|