summaryrefslogtreecommitdiffstats
path: root/main/flex/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/flex/APKBUILD')
-rw-r--r--main/flex/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
new file mode 100644
index 000000000..d44643d77
--- /dev/null
+++ b/main/flex/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncop@alpinelinux.org>
+pkgname=flex
+pkgver=2.5.35
+pkgrel=2
+pkgdesc="A tool for generating text-scanning programs"
+url="http://flex.sourceforge.net"
+license=custom
+depends='m4'
+makedepends=m4
+source="http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2"
+subpackages="$pkgname-doc"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make install DESTDIR="$pkgdir"
+}
+
+md5sums="10714e50cea54dc7a227e3eddcd44d57 flex-2.5.35.tar.bz2"