libxml2-2.7.8: Update for hpkg building

This commit is contained in:
Ingo Weinhold
2013-03-29 00:51:01 +00:00
parent 52c7c8c300
commit 1505e97c1b

View File

@@ -1,27 +1,39 @@
DESCRIPTION="libxml2 - Version 2 of the library to manipulate XML files"
SUMMARY="The XML C parser and toolkit of Gnome"
DESCRIPTION="The XML C parser and toolkit of Gnome."
HOMEPAGE="http://www.xmlsoft.org/"
SRC_URI="ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz"
CHECKSUM_MD5="8127a65e8c3b08856093099b52599c86"
REVISION="1"
REVISION="2"
STATUS_HAIKU="broken"
DEPEND=""
PROVIDES="libxml2 = $portVersion compat >= 2.7
lib:libxml2 = $portVersion compat >= 2.7"
REQUIRES="haiku >= $haikuVersion
zlib"
BUILD_REQUIRES="cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:make"
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion"
SOURCE_DIR="$portVersionedName"
BUILD {
cd libxml2-2.7.8
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=/boot/common --enable-ipv6=no LDFLAGS="-lnetwork -L/boot/common/lib"
./configure $configureDirArgs --enable-ipv6=no LDFLAGS="-lnetwork"
make
}
INSTALL {
cd libxml2-2.7.8
make install
}
TEST {
cd libxml2-2.7.8
make tests
}