updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / libantlr3c / PKGBUILD
blob03783c741a6f1166901852c3fc31681760079c50
1 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
2 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
3 # Contributor: Alexis Robert <alexis.robert@gmail.com>
5 pkgname=libantlr3c
6 pkgver=3.2
7 pkgrel=1
8 pkgdesc="C runtime for the ANTLR parsing library"
9 url="http://www.antlr.org/"
10 arch=("i686" "x86_64")
11 license=("BSD")
12 depends=('bash')
13 makedepends=()
14 source=(http://www.antlr.org/download/C/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('674646e1d1bf5c6015435480cead725a')
16 options=(!libtool)
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
20   
21   if [ "$CARCH" = "x86_64" ]; then      
22       _cfgopt=--enable-64bit
23   fi
24   ./configure --prefix=/usr --sysconfdir=/etc ${_cfgopt} || return 1
25   make || return 1
26   make install DESTDIR="${pkgdir}" || return 1