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"
|
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.21.tar.bz2"
|
||||||
CHECKSUM_MD5="0a7b592bea64b7aa7f4011fc7171a730"
|
CHECKSUM_MD5="0a7b592bea64b7aa7f4011fc7171a730"
|
||||||
REVISION="3"
|
REVISION="4"
|
||||||
ARCHITECTURES="x86_gcc2 ?x86"
|
ARCHITECTURES="x86_gcc2 ?x86"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libpcre = $portVersion
|
libpcre = $portVersion
|
||||||
|
cmd:pcre_config = $portVersion compat >= 8
|
||||||
|
cmd:pcregrep = $portVersion compat >= 8
|
||||||
|
cmd:pcretest = $portVersion compat >= 8
|
||||||
lib:libpcre = $portVersion compat >= 8
|
lib:libpcre = $portVersion compat >= 8
|
||||||
lib:libpcrecpp = $portVersion compat >= 8
|
lib:libpcrecpp = $portVersion compat >= 8
|
||||||
lib:libpcreposix = $portVersion compat >= 8
|
lib:libpcreposix = $portVersion compat >= 8
|
||||||
@@ -45,16 +48,15 @@ SOURCE_DIR="pcre-$portVersion"
|
|||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
automake --add-missing
|
|
||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
aclocal
|
aclocal
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake --add-missing
|
||||||
./configure $configureDirArgs \
|
./configure $configureDirArgs \
|
||||||
--enable-utf8 \
|
--enable-utf8 \
|
||||||
--enable-unicode-properties \
|
--enable-unicode-properties \
|
||||||
--with-pic
|
--with-pic
|
||||||
make
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
@@ -64,10 +66,12 @@ INSTALL()
|
|||||||
# prepare develop/lib
|
# prepare develop/lib
|
||||||
prepareInstalledDevelLibs libpcre libpcrecpp libpcreposix
|
prepareInstalledDevelLibs libpcre libpcrecpp libpcreposix
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
|
# fix pcre-config
|
||||||
|
fixDevelopLibDirReferences $binDir/pcre-config
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST()
|
TEST()
|
||||||
{
|
{
|
||||||
cd pcre-8.21
|
|
||||||
make check
|
make check
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user