aboutsummaryrefslogtreecommitdiffstats
path: root/main/byacc
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-21 03:49:24 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-21 04:17:11 +0100
commit403dd63561d4dcebfcb63bef7cf519210e832184 (patch)
tree4f7f0623fb9a0b21b77e41f363b5a55263b1a0c7 /main/byacc
parentbab5938371cd58b2824c50385361fa170c9e5e48 (diff)
downloadaports-403dd63561d4dcebfcb63bef7cf519210e832184.tar.bz2
aports-403dd63561d4dcebfcb63bef7cf519210e832184.tar.xz
main/byacc: conflict with bison
Diffstat (limited to 'main/byacc')
-rw-r--r--main/byacc/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/main/byacc/APKBUILD b/main/byacc/APKBUILD
index f7103793dd..80fb783f9c 100644
--- a/main/byacc/APKBUILD
+++ b/main/byacc/APKBUILD
@@ -1,25 +1,29 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20150711
-pkgrel=0
+pkgrel=1
pkgdesc="The Berkeley Yacc general-purpose parser generator"
+url="http://invisible-island.net/byacc/byacc.html"
arch="all"
license="Public Domain"
-url="http://invisible-island.net/byacc/byacc.html"
-source="ftp://invisible-island.net/byacc/byacc-${pkgver}.tgz"
+depends="!bison"
+depends_dev=""
+makedepends=""
+install=""
subpackages="$pkgname-doc"
+source="ftp://invisible-island.net/$pkgname/$pkgname-${pkgver}.tgz"
_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- cd "$_builddir"
-}
-
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --datadir=/usr/share \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
make || return 1
}