~alpine/devel

testing/byacc/APKBUILD Berkeley Yacc v1 PROPOSED

Nathan Angelacos: 1
 	testing/byacc/APKBUILD	Berkeley Yacc

 1 files changed, 31 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/314/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] testing/byacc/APKBUILD Berkeley Yacc Export this patch

---
 testing/byacc/APKBUILD |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 testing/byacc/APKBUILD
diff --git a/testing/byacc/APKBUILD b/testing/byacc/APKBUILD
new file mode 100644
index 0000000..8c2cc2b
--- /dev/null
+++ b/testing/byacc/APKBUILD
@@ -0,0 +1,31 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20111219
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="c17542fd9df6e392d495a64f883e29f1  byacc-20111219.tgz"
-- 
1.7.7.1



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---