void-packages/srcpkgs/execline/template
2017-05-21 23:14:31 +00:00

39 lines
957 B
Bash

# Template file for 'execline'
pkgname=execline
version=2.3.0.1
revision=1
build_style=gnu-configure
makedepends="skalibs-devel"
configure_args="--libdir=/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=2bf65aaaf808718952e05c2221b4e9472271e53ebd915c8d1d49a3e992583bf4
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
}
}