aboutsummaryrefslogtreecommitdiffstats
path: root/main/byacc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-08-21 09:04:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-08-21 09:04:27 +0000
commit27dfdc573924bdc4bf1994df6b440d677af24907 (patch)
tree23c26e4dc058f2a8876101ca87cf4f1457c7e5aa /main/byacc/APKBUILD
parent8ad8ed0311ec5294b47ca7c912b0bc5014aee3af (diff)
downloadaports-27dfdc573924bdc4bf1994df6b440d677af24907.tar.bz2
aports-27dfdc573924bdc4bf1994df6b440d677af24907.tar.xz
main/byacc: moved from testing
needed by zmap
Diffstat (limited to 'main/byacc/APKBUILD')
-rw-r--r--main/byacc/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/byacc/APKBUILD b/main/byacc/APKBUILD
new file mode 100644
index 0000000000..fc3cc4a989
--- /dev/null
+++ b/main/byacc/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
+pkgname=byacc
+pkgver=20140715
+pkgrel=0
+pkgdesc="The Berkeley Yacc general-purpose parser generator"
+arch="all"
+license="Public Domain"
+url="http://invisible-island.net/byacc/byacc.html"
+source="ftp://invisible-island.net/byacc/byacc-${pkgver}.tgz"
+subpackages="$pkgname-doc"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --datadir=/usr/share \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="814d2ebedd738a526e5aeb00b1ad38af byacc-20140715.tgz"
+sha256sums="ecd0d87bf7e62b5536fb096ada96ecd564c6411866bbe6644e30ee7963e97fe5 byacc-20140715.tgz"
+sha512sums="2f4e46565f10af41ca84785e2794c70d9f5788318eddc3a8be6c4c0d9ca99ad0d2028fdd3bc1d021aaa980eac74f9ac5a73e28fffae53f9b9abd9aea7b57dc79 byacc-20140715.tgz"