From 1505e97c1b89f5f8d67f688f68fd573cff3b902f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 29 Mar 2013 00:51:01 +0000 Subject: [PATCH] libxml2-2.7.8: Update for hpkg building --- dev-libs/libxml2/libxml2-2.7.8.bep | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/dev-libs/libxml2/libxml2-2.7.8.bep b/dev-libs/libxml2/libxml2-2.7.8.bep index 7257a7571..446f12344 100644 --- a/dev-libs/libxml2/libxml2-2.7.8.bep +++ b/dev-libs/libxml2/libxml2-2.7.8.bep @@ -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 }