txr: update to 233.
This commit is contained in:
parent
065cc38672
commit
01ca5b6132
1 changed files with 9 additions and 9 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'txr'
|
# Template file for 'txr'
|
||||||
pkgname=txr
|
pkgname=txr
|
||||||
version=232
|
version=233
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* i686* aarch64* arm* ppc64*"
|
archs="x86_64* i686* aarch64* arm* ppc64*"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
configure_args="--prefix=/usr"
|
||||||
make_check_target=tests
|
make_check_target=tests
|
||||||
hostmakedepends="bison flex"
|
hostmakedepends="bison flex"
|
||||||
makedepends="libffi-devel"
|
makedepends="libffi-devel"
|
||||||
|
@ -11,25 +12,24 @@ short_desc="Programming language for convenient data munging"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="http://www.nongnu.org/txr/"
|
homepage="http://www.nongnu.org/txr/"
|
||||||
|
changelog="http://www.kylheku.com/cgit/txr/tree/RELNOTES?id=${pkgname}-${version}"
|
||||||
distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=e96b01ce378c21cfbbc69de3c9ff22cd92bc0878c3dfd0356367300154dcab61
|
checksum=a12e7769c1f3354f6c85bc1d26a3cb2de548e45ac7ae38b982e74163b19148d8
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" txr"
|
hostmakedepends+=" txr"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_configure() {
|
pre_configure() {
|
||||||
./configure --prefix=/usr --ccname="${CC}" \
|
|
||||||
--platform-cflags="${CFLAGS}" \
|
|
||||||
--platform-ldflags="${LDFLAGS}"
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i 's#^TXR :=.*#TXR = /usr/bin/txr#' Makefile
|
vsed -i Makefile -e 's#^TXR :=.*#TXR = /usr/bin/txr#'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_check() {
|
post_configure() {
|
||||||
rm -rf tests/017
|
vsed -i config.make -e "#^PLATFORM_CFLAGS#s#:=.*$#:= ${CFLAGS}#"
|
||||||
|
vsed -i config.make -e "#^PLATFORM_LDFLAGS#s#:=.*$#:= ${LDFLAGS}#"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue