2006-02-23 16:26:10 +01:00
|
|
|
|
# Description: Fast Lexical Analyzer Generator
|
|
|
|
|
# URL: http://lex.sourceforge.net/
|
2006-04-20 22:37:09 +02:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
name=flex
|
|
|
|
|
version=2.5.31
|
|
|
|
|
release=2
|
2006-03-15 23:17:45 +01:00
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/flex/$name-$version.tar.bz2 \
|
2006-02-23 16:26:10 +01:00
|
|
|
|
$name-$version.patch)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -p1 < ../$name-$version.patch
|
|
|
|
|
./configure --prefix=/usr --disable-nls
|
|
|
|
|
touch doc/flex.1 scan.c
|
|
|
|
|
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
|
|
|
|
|
}
|