2015-06-19 18:34:34 +02:00
|
|
|
# Template file for 'execline'
|
|
|
|
pkgname=execline
|
2015-10-05 17:00:43 +02:00
|
|
|
version=2.1.4.1
|
2015-06-19 18:34:34 +02:00
|
|
|
revision=1
|
2015-09-27 10:31:11 +02:00
|
|
|
buiild_pie=yes
|
2015-06-19 18:34:34 +02:00
|
|
|
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-10-05 17:00:43 +02:00
|
|
|
checksum=1c23ac42c1b465601051bd92fbbd0e10c9616967aff68aea4b0e2b823afc4459
|
2015-09-27 10:31:11 +02:00
|
|
|
|
|
|
|
CFLAGS="-fPIC"
|
2015-06-19 18:34:34 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2015-06-19 18:34:34 +02:00
|
|
|
execline-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib
|
|
|
|
}
|
|
|
|
}
|