mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Update libpcre recipe
* Add commands to provides. * Fix autotools invocation order (it failed here before). * Use jobArgs. * Fix developLibDir paths in pcre-config. * Remove unnecessary cd in TEST() (untested).
This commit is contained in:
@@ -15,11 +15,14 @@ COPYRIGHT="
|
||||
"
|
||||
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.21.tar.bz2"
|
||||
CHECKSUM_MD5="0a7b592bea64b7aa7f4011fc7171a730"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
libpcre = $portVersion
|
||||
cmd:pcre_config = $portVersion compat >= 8
|
||||
cmd:pcregrep = $portVersion compat >= 8
|
||||
cmd:pcretest = $portVersion compat >= 8
|
||||
lib:libpcre = $portVersion compat >= 8
|
||||
lib:libpcrecpp = $portVersion compat >= 8
|
||||
lib:libpcreposix = $portVersion compat >= 8
|
||||
@@ -45,16 +48,15 @@ SOURCE_DIR="pcre-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
automake --add-missing
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
automake --add-missing
|
||||
./configure $configureDirArgs \
|
||||
--enable-utf8 \
|
||||
--enable-unicode-properties \
|
||||
--with-pic
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -64,10 +66,12 @@ INSTALL()
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libpcre libpcrecpp libpcreposix
|
||||
fixPkgconfig
|
||||
|
||||
# fix pcre-config
|
||||
fixDevelopLibDirReferences $binDir/pcre-config
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd pcre-8.21
|
||||
make check
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user