void-packages/srcpkgs/execline/template

41 lines
972 B
Bash
Raw Normal View History

# Template file for 'execline'
pkgname=execline
2015-11-05 07:33:47 +00:00
version=2.1.4.4
revision=1
2015-09-27 08:31:11 +00:00
buiild_pie=yes
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"
2015-11-05 07:33:47 +00:00
checksum=b9c4b4905e17a7caa4f187d62ce0755644a478ec9ea7f13f7bdbaca3c91ce425
2016-02-25 21:59:41 +00:00
conflicts="ImageMagick" # /usr/bin/import
2015-09-27 08:31:11 +00:00
CFLAGS="-fPIC"
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
2015-09-27 08:31:11 +00:00
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
}
}