From c3ebeca6a8336defc66022534ba9bcbb800537d5 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 04:39:04 +0100 Subject: Recette de flex ajoutée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flex/Pkgfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 flex/Pkgfile (limited to 'flex/Pkgfile') 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 " +maintainer="Lukc " +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 +} -- cgit v1.2.3-70-g09d2