mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
This commit is contained in:
44
sys-devel/flex/flex-2.5.35.recipe
Normal file
44
sys-devel/flex/flex-2.5.35.recipe
Normal file
@@ -0,0 +1,44 @@
|
||||
SUMMARY="Flex is a tool for generating scanners."
|
||||
DESCRIPTION="Flex is a fast lexical analyser generator. It is a tool for generating
|
||||
programs that perform pattern-matching on text."
|
||||
HOMEPAGE="http://flex.sourceforge.net/"
|
||||
SRC_URI="http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download"
|
||||
CHECKSUM_MD5="10714e50cea54dc7a227e3eddcd44d57"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
|
||||
PROVIDES="flex = $portVersion compat >= 2.5
|
||||
cmd:flex = $portVersion compat >= 2.5
|
||||
lib:libfl.a = $portVersion compat >= 2.5
|
||||
lib:libfl_pic.a = $portVersion compat >= 2.5"
|
||||
REQUIRES="haiku >= $haikuVersion"
|
||||
BUILD_REQUIRES="aclocal >= 1.11
|
||||
cmd:autoconf >= 2.68
|
||||
cmd:automake >= 1.11
|
||||
cmd:libtoolize >= 2.4"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm aclocal.m4
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
automake --add-missing --force-missing
|
||||
./configure $configureDirArgs \
|
||||
--disable-rpath --with-gnu-ld
|
||||
make -j$jobs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="Flex"
|
||||
COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California"
|
||||
Reference in New Issue
Block a user