summaryrefslogtreecommitdiff
path: root/system/byacc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:18:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:18:24 -0500
commit33ab6f745fc7bcbc62a04445ec26bed721aabff4 (patch)
treebe283cdd9a2130cdef8a1e0fc225d1e4879731b0 /system/byacc/APKBUILD
parent2a14273d2e530d1f099c755e589dce1975651023 (diff)
downloadpackages-33ab6f745fc7bcbc62a04445ec26bed721aabff4.tar.gz
packages-33ab6f745fc7bcbc62a04445ec26bed721aabff4.tar.bz2
packages-33ab6f745fc7bcbc62a04445ec26bed721aabff4.tar.xz
packages-33ab6f745fc7bcbc62a04445ec26bed721aabff4.zip
system/byacc: add for at, and maybe future bison replacement
Diffstat (limited to 'system/byacc/APKBUILD')
-rw-r--r--system/byacc/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/system/byacc/APKBUILD b/system/byacc/APKBUILD
new file mode 100644
index 000000000..5f01de805
--- /dev/null
+++ b/system/byacc/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
+pkgname=byacc
+pkgver=20180609
+pkgrel=1
+pkgdesc="The Berkeley Yacc general-purpose parser generator"
+url="http://invisible-island.net/byacc/byacc.html"
+arch="all"
+options="!checkroot"
+license="Public-Domain"
+depends="!bison"
+subpackages="$pkgname-doc"
+source="https://invisible-mirror.net/archives/byacc/byacc-$pkgver.tgz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="45aa6de839ca23385ab832685fdaa49225dcde6a40bdb990eefde8ab1be2cfe063875072e844629ac91e9533e6e310fa0bb8a6bd01e246a1cefc67bbc3c175f9 byacc-20180609.tgz"