void-packages/srcpkgs/gsl-ucg/template

23 lines
583 B
Bash

# Template file for 'gsl-ucg'
pkgname=gsl-ucg
version=4.1.5
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@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/zeromq/gsl"
distfiles="https://github.com/zeromq/gsl/archive/v${version}.tar.gz"
checksum=c1c3d61a1d89b65d0d1161c803bcdd6364045cc20d7e0c1f67f0955cd9b326b0
pre_build() {
export CC="CCNAME='$CC' ./c -q"
}
pre_install() {
export DESTDIR="${DESTDIR}/usr"
}