Xerces-C: some supporting libs added. (#923)

* Xerces-C: some supporting libs added.

* Update xerces_c-3.1.4.recipe

* Update xerces_c-3.1.4.recipe
This commit is contained in:
miqlas
2016-12-25 20:02:04 +01:00
committed by waddlesplash
parent 3d16a30ad8
commit f3e6c8abd5

View File

@@ -6,7 +6,7 @@ and SAX2 APIs."
HOMEPAGE="https://xerces.apache.org/xerces-c/"
COPYRIGHT="1999-2016 The Apache Software Foundation"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://apache.mirrors.tds.net/xerces/c/3/sources/xerces-c-$portVersion.tar.bz2"
CHECKSUM_SHA256="9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891"
SOURCE_DIR="xerces-c-$portVersion"
@@ -36,6 +36,10 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
@@ -49,6 +53,10 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcrypto$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
@@ -64,7 +72,10 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure ./configure
LDFLAGS="-lnetwork -lbsd" \
CFLAGS="-D_BSD_SOURCE" \
runConfigure ./configure
make $jobArgs
}