summaryrefslogtreecommitdiffstats
path: root/flex/Pkgfile.old
diff options
context:
space:
mode:
Diffstat (limited to 'flex/Pkgfile.old')
-rw-r--r--flex/Pkgfile.old20
1 files changed, 20 insertions, 0 deletions
diff --git a/flex/Pkgfile.old b/flex/Pkgfile.old
new file mode 100644
index 0000000..f62d7a8
--- /dev/null
+++ b/flex/Pkgfile.old
@@ -0,0 +1,20 @@
+# Description: Fast Lexical Analyzer Generator
+# URL: http://flex.sourceforge.net/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=flex
+version=2.5.35
+release=2
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.bz2
+ $name-$version-gcc44-1.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 -i $SRC/$name-$version-gcc44-1.patch
+ ./configure --prefix=/usr --disable-nls
+ make
+ make DESTDIR=$PKG install
+ ln -sf flex $PKG/usr/bin/lex
+ ln -sf flex.1.gz $PKG/usr/man/man1/lex.1.gz
+ rm -rf $PKG/usr/info
+}