Files
haikuports/dev-libs/libxml2/libxml2-2.9.0.recipe
Oliver Tappe 60aba35d64 * convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
2013-03-29 16:31:03 +00:00

40 lines
850 B
Plaintext

DESCRIPTION="libxml2 - Version 2 of the library to manipulate XML files"
HOMEPAGE="http://www.xmlsoft.org/"
SRC_URI="ftp://xmlsoft.org/libxml2/libxml2-2.9.0.tar.gz"
CHECKSUM_MD5="5b9bebf4f5d2200ae2c4efe8fa6103f7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd libxml2-2.9.0
libtoolize --force --copy --install
aclocal
autoconf
sed -i 's/$(datadir)\/aclocal/`finddir B_COMMON_DATA_DIRECTORY`\/aclocal/g' M*
automake
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=$COMMON_DOCS \
--docdir=$COMMON_DOCS/doc \
--mandir=$COMMON_DOCS/man \
--with-threads=yes
LDFLAGS="-lnetwork"
make
}
INSTALL()
{
cd libxml2-2.9.0
make install
}
TEST()
{
cd libxml2-2.9.0
make tests
}
LICENSE="MIT"
COPYRIGHT="1998-2003 Daniel Veillard. All Rights Reserved."