New package: txr-118
This commit is contained in:
parent
d688388c45
commit
0597352793
2 changed files with 31 additions and 0 deletions
11
srcpkgs/txr/patches/musl-configure.patch
Normal file
11
srcpkgs/txr/patches/musl-configure.patch
Normal 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
20
srcpkgs/txr/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue