mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
82 lines
1.9 KiB
Bash
82 lines
1.9 KiB
Bash
SUMMARY="The XSLT C library of Gnome"
|
|
DESCRIPTION="Libxslt 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."
|
|
HOMEPAGE="http://www.xmlsoft.org/"
|
|
COPYRIGHT="2001-2012 Daniel Veillard"
|
|
LICENSE="MIT"
|
|
REVISION="9"
|
|
SOURCE_URI="ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz"
|
|
CHECKSUM_SHA256="5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libxslt$secondaryArchSuffix = $portVersion
|
|
lib:libxslt$secondaryArchSuffix = $portVersion compat >= 1
|
|
lib:libexslt$secondaryArchSuffix = 0.8.17 compat >= 0
|
|
cmd:xslt_config$secondaryArchSuffix = $portVersion
|
|
cmd:xsltproc$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxslt${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxslt$secondaryArchSuffix = $portVersion compat >= 1
|
|
devel:libexslt$secondaryArchSuffix = 0.8.17 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libxslt$secondaryArchSuffix == $portVersion base
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake_1.13
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gawk
|
|
cmd:git
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal-1.13
|
|
autoconf
|
|
automake-1.13
|
|
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libexslt.la $libDir/libxslt.la
|
|
|
|
prepareInstalledDevelLibs \
|
|
libxslt \
|
|
libexslt
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|