void-packages/srcpkgs/execline/template

40 lines
957 B
Bash
Raw Normal View History

# Template file for 'execline'
pkgname=execline
2016-04-15 12:12:48 +02:00
version=2.1.5.0
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"
2016-04-15 12:12:48 +02:00
checksum=8a3605a6db73183baa376bf2130e8b7eb75a5b5347c7f9144e520fe86bcb1142
2016-02-25 22:59:41 +01:00
conflicts="ImageMagick" # /usr/bin/import
2015-09-27 10:31:11 +02:00
CFLAGS="-fPIC"
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
2015-09-27 10:31:11 +02: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
}
}