diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 04:39:04 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 04:39:04 +0100 |
commit | c3ebeca6a8336defc66022534ba9bcbb800537d5 (patch) | |
tree | e0f45c7cc44868ded780dd7d0142e530c2b49e25 /flex/Pkgfile | |
parent | 422c828aea452052911de29c85d1c212852c3ebb (diff) | |
download | devel-c3ebeca6a8336defc66022534ba9bcbb800537d5.tar.gz devel-c3ebeca6a8336defc66022534ba9bcbb800537d5.tar.bz2 devel-c3ebeca6a8336defc66022534ba9bcbb800537d5.tar.xz devel-c3ebeca6a8336defc66022534ba9bcbb800537d5.zip |
Recette de flex ajoutée.
Diffstat (limited to 'flex/Pkgfile')
-rw-r--r-- | flex/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flex/Pkgfile b/flex/Pkgfile new file mode 100644 index 0000000..0645a06 --- /dev/null +++ b/flex/Pkgfile @@ -0,0 +1,21 @@ +description="Fast Lexical Analyzer Generator." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://flex.sourceforge.net/" +depends=() + +name=flex +version=2.5.35 +release=2 +source=(http://downloads.sourceforge.net/project/flex/flex/$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=$prefix --mandir=$mandir $(use_enable nls); + make; + make DESTDIR=$PKG install; + ln -sf flex $PKG$prefix/bin/lex; + ln -sf flex.1.gz $PKG$mandir/man1/lex.1.gz; + rm -rf $PKG$prefix/info +} |