void-packages/srcpkgs/gsl-ucg/template
2021-04-14 19:44:00 +00:00

22 lines
595 B
Bash

# Template file for 'gsl-ucg'
pkgname=gsl-ucg
version=4.1.5
revision=2
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.org>"
license="GPL-3.0-or-later"
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"
}