Merge pull request #2666 from okapia/txr

New package: txr-118
This commit is contained in:
Juan RP 2015-10-04 10:14:16 +02:00
commit e6d70baaf5
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
}