Files
haikuports/dev-libs/libxslt/libxslt-1.1.32.recipe
2017-11-07 22:03:57 +01:00

79 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="1"
SOURCE_URI="ftp://xmlsoft.org/libxml2/libxslt-$portVersion.tar.gz"
CHECKSUM_SHA256="526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460"
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.20 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.20 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:aclocal
cmd:autoconf
cmd:automake
cmd:libtoolize$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:gawk
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:sed
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libexslt.la $libDir/libxslt.la
prepareInstalledDevelLibs \
libxslt \
libexslt
fixPkgconfig
packageEntries devel \
$developDir
}