29 lines
659 B
Bash
29 lines
659 B
Bash
# Template file for 'libantlr3c'
|
|
pkgname=libantlr3c
|
|
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 <me@johnnynator.dev>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.antlr.org"
|
|
distfiles="https://github.com/antlr/antlr3/archive/${version}.tar.gz"
|
|
checksum=a66d12fd5ca052fdd2b0a64b70d0c58db40e6dec72c3f4497934203090d92808
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|aarch64*|ppc64*)
|
|
configure_args+=" --enable-64bit"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|