Files
haikuports/sys-devel/flex/flex-2.5.39.recipe
PulkoMandy 5f9bcb6928 Declare ARM support for packages to bootstrap.
* The bootstrap process won't work without that.
2014-04-22 21:23:55 +02:00

63 lines
1.3 KiB
Plaintext

SUMMARY="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/"
COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California"
LICENSE="Flex"
SRC_URI="http://sourceforge.net/projects/flex/files/flex-$portVersion.tar.bz2"
CHECKSUM_SHA256="add2b55f3bc38cb512b48fad7d72f43b11ef244487ff25fc00aabec1e32b617f"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PATCHES="flex-2.5.39.patchset"
PROVIDES="
flex = $portVersion compat >= 2.5
cmd:flex = $portVersion compat >= 2.5
cmd:flex++ = $portVersion compat >= 2.5
lib:libfl = 2.0.0 compat >= 2
lib:libfl_pic = 2.0.0 compat >= 2
devel:libfl = 2.0.0 compat >= 2
devel:libfl_pic = 2.0.0 compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
cmd:m4
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:makeinfo
"
BUILD()
{
rm aclocal.m4
libtoolize --force --copy --install
aclocal -I m4
autoconf
automake --add-missing --force-missing
runConfigure ./configure \
--disable-rpath --with-gnu-ld
make $jobArgs
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs libfl libfl_pic
}