aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libantlr3c/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 10:05:05 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-27 10:05:57 -0300
commitfca815022fdbd8ec9e1feedf8f95e68be71d2339 (patch)
treed4ee5af7bf87e96b1fe91f451016049b68e0da5c /testing/libantlr3c/APKBUILD
parent377e0ddbe18d90b193a7309e2ee5f5a3f806c309 (diff)
downloadaports-fca815022fdbd8ec9e1feedf8f95e68be71d2339.tar.bz2
aports-fca815022fdbd8ec9e1feedf8f95e68be71d2339.tar.xz
testing/libantlr3c: fix url fix license
Diffstat (limited to 'testing/libantlr3c/APKBUILD')
-rw-r--r--testing/libantlr3c/APKBUILD31
1 files changed, 8 insertions, 23 deletions
diff --git a/testing/libantlr3c/APKBUILD b/testing/libantlr3c/APKBUILD
index b7fa1c9d39..7dbe32b852 100644
--- a/testing/libantlr3c/APKBUILD
+++ b/testing/libantlr3c/APKBUILD
@@ -2,32 +2,20 @@
# Maintainer:
pkgname=libantlr3c
pkgver=3.4
-pkgrel=0
+pkgrel=1
pkgdesc="C runtime for the ANTLR parsing library"
-url="http://www.antlr.org/"
+url="https://www.antlr.org/"
arch="all"
-license="BSD"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
+license="BSD-3-Clause"
subpackages="$pkgname-dev"
source="http://www.antlr3.org/download/C/libantlr3c-$pkgver.tar.gz"
-_builddir="$srcdir"/libantlr3c-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,15 +25,12 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-abiflags \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="08b1420129d5dccd0f4461cedf2a0d7d libantlr3c-3.4.tar.gz"
-sha256sums="ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52 libantlr3c-3.4.tar.gz"
sha512sums="8edb243d745ff5bf3b15940f124d1255a9ca965cb656a73a558aed7fa07effcd7620f23dc692e5d5169a03200254836dd57af3ce444ba225281a5b721497e211 libantlr3c-3.4.tar.gz"