summaryrefslogtreecommitdiffstats
path: root/flex/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /flex/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'flex/Pkgfile')
-rw-r--r--flex/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/flex/Pkgfile b/flex/Pkgfile
new file mode 100644
index 0000000..8bad4f9
--- /dev/null
+++ b/flex/Pkgfile
@@ -0,0 +1,21 @@
+description="Fast Lexical Analyzer Generator"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://flex.sourceforge.net/"
+depends=()
+
+name=flex
+version=2.5.35
+release=2
+source=(http://downloads.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.bz2 flex-2.5.35-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
+}