summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reflex/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/reflex/APKBUILD b/reflex/APKBUILD
new file mode 100644
index 0000000..b54c5b8
--- /dev/null
+++ b/reflex/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: John Vogel <jvogel4@stny.rr.com>
+# Maintainer: John Vogel <jvogel4@stny.rr.com>
+pkgname=reflex
+pkgver=20230523
+pkgrel=0
+pkgdesc="variant of flex with relocalization"
+url="https://invisible-island.net/reflex/reflex.html"
+arch="all"
+license="BSD-3-Clause-LBNL" # not quite right, but seems closest in wording to COPYING
+#depends=""
+#depends_dev=""
+makedepends="byacc"
+#checkdepends=""
+#install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://invisible-island.net/archives/reflex/reflex-$pkgver.tgz"
+builddir="$srcdir/reflex-$pkgver"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+9704b6dc3327bc017175bef21f34f53ff6614a76692deacb4af99c29bd4330e5fb7f71af6497d233acceab148bc8a7911d41d3ca224110812e5883c90cc801f2 reflex-20230523.tgz
+"