summaryrefslogtreecommitdiff
path: root/user/re2c/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 22:52:43 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 22:52:43 -0500
commit02d1d9f380772fdf9c934e74f2af2c09f1841510 (patch)
treed477154ad6349fdbc625747bf20480ea38c11506 /user/re2c/APKBUILD
parent39934dd75e23833fbf22de1d88e46f5dc21f3075 (diff)
downloadpackages-02d1d9f380772fdf9c934e74f2af2c09f1841510.tar.gz
packages-02d1d9f380772fdf9c934e74f2af2c09f1841510.tar.bz2
packages-02d1d9f380772fdf9c934e74f2af2c09f1841510.tar.xz
packages-02d1d9f380772fdf9c934e74f2af2c09f1841510.zip
user/re2c: pull in, bump, fix
Diffstat (limited to 'user/re2c/APKBUILD')
-rw-r--r--user/re2c/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/re2c/APKBUILD b/user/re2c/APKBUILD
new file mode 100644
index 000000000..782b506b0
--- /dev/null
+++ b/user/re2c/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Jeff Bilyk <jbilyk at gmail>
+# Maintainer:
+pkgname=re2c
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="Fast lexer generator for C and C++"
+url="http://re2c.org/"
+arch="all"
+license="Public-Domain"
+checkdepends="bash"
+subpackages="$pkgname-doc"
+source="https://github.com/skvadrik/re2c/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make tests
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7b2a43828da872a957af88fb0a226e1936a45c8a1020ba1f6544b588aaa61dff8df40e84f9053c30ac8e17c41164e70627d57f5d3721a34b2aba7b1dbf25b6ae re2c-1.0.3.tar.gz"