libantlr3c: update to 3.5.2.

This commit is contained in:
maxice8 2018-12-11 09:52:02 -02:00 committed by maxice8
parent fe20cbd772
commit 3f8f0e000d
1 changed files with 13 additions and 6 deletions

View File

@ -1,19 +1,26 @@
# Template file for 'libantlr3c'
pkgname=libantlr3c
version=3.4
version=3.5.2
revision=1
wrksrc="antlr3-${version}"
build_wrksrc=runtime/C
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="C runtime for the ANTLR parsing library"
maintainer="John <johnz@posteo.net>"
license="BSD-3-Clause"
homepage="https://www.antlr.org"
distfiles="https://www.antlr3.org/download/C/${pkgname}-${version}.tar.gz"
checksum="ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52"
distfiles="https://github.com/antlr/antlr3/archive/${version}.tar.gz"
checksum=a66d12fd5ca052fdd2b0a64b70d0c58db40e6dec72c3f4497934203090d92808
pre_configure() {
autoreconf -fi
}
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*)
configure_args+=" --enable-64bit"
;;
x86_64*|aarch64*)
configure_args+=" --enable-64bit"
;;
esac
post_install() {