New package: txr-118

This commit is contained in:
Oliver Kiddle 2015-10-03 23:03:16 +02:00
parent d688388c45
commit 0597352793
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure- 2015-10-03 23:20:36.976105846 +0200
+++ configure 2015-10-03 23:21:38.708814989 +0200
@@ -2176,7 +2176,7 @@
if conftest ; then
printf "yes\n"
printf "#define HAVE_ALLOCA 1\n" >> $config_h
- printf "#define ALLOCA_H <%s>\n" $try_header >> $config_h
+ printf '#define ALLOCA_H "%s"\n' $try_header >> $config_h
have_alloca=y
break;
fi

20
srcpkgs/txr/template Normal file
View File

@ -0,0 +1,20 @@
# Template file for 'txr'
pkgname=txr
version=118
revision=1
build_style=configure
hostmakedepends="bison flex"
short_desc="Programming language for convenient data munging"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="BSD"
homepage="http://www.nongnu.org/txr/"
distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2"
checksum=6f9a10b8437bffcbe6aecb06322c94f33256aa107245763f76f212750bddfa8e
do_configure() {
./configure --prefix=/usr "--ccname=${CC}" "--platform-cflags=${CFLAGS}" "--platform-ldflags=${LDFLAGS}"
}
post_install() {
vlicense LICENSE
}