From 0e43116c20c64c8b0dece5aaad190256e1cef470 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 2 Oct 2013 14:15:10 +0200 Subject: [PATCH] Update libxslt recipe so it works with newer haikuporter * Still missing _devel package extraction. --- dev-libs/libxslt/libxslt-1.1.28.recipe | 53 +++++++++++++++++++------- 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/dev-libs/libxslt/libxslt-1.1.28.recipe b/dev-libs/libxslt/libxslt-1.1.28.recipe index cd1fe0251..983a2cece 100644 --- a/dev-libs/libxslt/libxslt-1.1.28.recipe +++ b/dev-libs/libxslt/libxslt-1.1.28.recipe @@ -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. + "