diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/byacc/APKBUILD | 26 |
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 } |