void-packages/srcpkgs/gsl-ucg/template

22 lines
574 B
Bash

# Template file for 'gsl-ucg'
pkgname=gsl-ucg
version=4.1.5
revision=2
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"
}
do_install() {
make DESTDIR=${DESTDIR}/usr install
}