void-packages/srcpkgs/gsl-ucg/template

24 lines
640 B
Bash
Raw Normal View History

2017-02-12 02:59:29 +00:00
# Template file for 'gsl-ucg'
pkgname=gsl-ucg
version=4.1.3
revision=1
wrksrc="gsl-${version}"
build_wrksrc="src"
build_style=gnu-makefile
makedepends="pcre-devel"
short_desc="Generator Scripting Language - Universal Code Generator"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-3"
homepage="https://github.com/imatix/gsl"
distfiles="https://github.com/imatix/gsl/archive/v${version}.tar.gz"
checksum=7e6e503997d576751e7c06dd3dd2b31b7e1d0ee5929512c997746ef70c6ed111
nocross="Tries to execute built binary to confirm it works"
pre_build() {
export CC="CCNAME='$CC' ./c -q"
}
pre_install() {
export DESTDIR="${DESTDIR}/usr"
}