New package: gsl-ucg-4.1.3
This commit is contained in:
parent
7ac029d310
commit
357c6f3bde
|
@ -0,0 +1,11 @@
|
|||
--- src/c.fix 2017-02-10 21:50:13.882583271 -0500
|
||||
+++ src/c 2017-02-10 21:55:55.064681445 -0500
|
||||
@@ -154,7 +154,7 @@
|
||||
#
|
||||
# Generic modern GCC system
|
||||
#
|
||||
-if [ "$CCNAME" = "gcc" ]; then
|
||||
+if [ "$(${CCNAME} --version | grep -c \(GCC\))" -gt 0 ]; then
|
||||
[ -z "$BOOM_MODEL_NOOPT" ] && CCDEBUG="-O2"
|
||||
[ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="$CCNODEBUG -O2"
|
||||
CCOPTS="-D_REENTRANT -D_GNU_SOURCE -Wall -Wno-unused -fno-strict-aliasing"
|
|
@ -0,0 +1,23 @@
|
|||
# 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"
|
||||
}
|
Loading…
Reference in New Issue