Update libxslt recipe so it works with newer haikuporter

* Still missing _devel package extraction.
This commit is contained in:
Adrien Destugues
2013-10-02 14:15:10 +02:00
parent 548c1faf89
commit 0e43116c20

View File

@@ -1,32 +1,57 @@
DESCRIPTION="XSLT C library developed for the GNOME project"
SUMMARY="XSLT C library developed for the GNOME project"
HOMEPAGE="http://www.xmlsoft.org/"
LICENSE="MIT"
COPYRIGHT="2001-2002 Daniel Veillard. All Rights Reserved."
SRC_URI="ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz"
CHECKSUM_MD5="9667bf6f9310b957254fdcf6596600b7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
ARCHITECTURES="?x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libxslt$secondaryArchSuffix = $portVersion
lib:libxslt$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
devel:libxml2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:libtoolize
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
{
cd libxslt-1.1.28
libtoolize --force --copy --install
aclocal
autoconf
sed -i 's/$(datadir)\/aclocal/`finddir B_COMMON_DATA_DIRECTORY`\/aclocal/' Makefile*
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
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd libxslt-1.1.28
make install
prepareInstalledDevelLibs libxslt
fixPkgconfig
}
LICENSE="MIT"
COPYRIGHT="2001-2002 Daniel Veillard. All Rights Reserved."
DESCRIPTION="
Libxslt is the XSLT C library developed for the GNOME project. XSLT itself
is a an XML language to define transformation for XML. Libxslt is based on
libxml2 the XML C library developed for the GNOME project. It also
implements most of the EXSLT set of processor-portable extensions functions
and some of Saxon's evaluate and expressions extensions.
People can either embed the library in their application or use xsltproc
the command line processing tool. This library is free software and can be
reused in commercial applications.
"