mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
flex: update recipe
* Declare library provides correctly. * Move development libraries to develop/lib. * Add missing cmd:makeinfo build requires. * Use runConfigure, jobArgs.
This commit is contained in:
@@ -4,16 +4,18 @@ DESCRIPTION="
|
||||
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/flex-2.5.35/flex-2.5.35.tar.bz2/download"
|
||||
CHECKSUM_MD5="10714e50cea54dc7a227e3eddcd44d57"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
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
|
||||
devel:libfl = $portVersion compat >= 2.5
|
||||
devel:libfl_pic = $portVersion compat >= 2.5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
@@ -25,6 +27,7 @@ BUILD_REQUIRES="
|
||||
cmd:automake
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
@@ -41,15 +44,16 @@ BUILD()
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
automake --add-missing --force-missing
|
||||
./configure $configureDirArgs \
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld
|
||||
make -j$jobs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="Flex"
|
||||
COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California"
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libfl libfl_pic
|
||||
rmdir $libDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user