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