From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- flex/Pkgfile.old | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 flex/Pkgfile.old (limited to 'flex/Pkgfile.old') 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 +} -- cgit v1.2.3-70-g09d2