Files
haikuports/dev-libs/libxslt/libxslt-1.1.32.recipe
alaviss a0fdf8cf1f Add TEST() to various ports (#1832)
* app-crypt/rhash: disable on x86_gcc2, also fixed secondary arch

* dev-lang/tcc: make tcc actually works

  - update patches: define custom haiku definitions, use haiku
    start/end objects

  - make tcc uses haiku custom paths

  - add secondary arch support
  - add x86_64

* dev-lang/tcc: disable on all architectures

  - Haiku's BeBuild.h depends on __GNUC__ macro to select ABI, which
    unfortunately we can't risk to define, so disabling for now

* dev-python/pyqt: use correct name for sip

* dev-lang/spidermonkey: fix build

  - add x86 to snd arch

  - update config.sub and config.guess

  - add missing cmd:js_config
  - add missing cmd:zip

* dev-python/pyqt: clean up the spaces left by previous contributor

* add TEST() for the following ports:
  - sys-devel/flex
  - app-crypt/rhash
  - app-text/podofo
  - app-crypt/qca
  - app-editors/retext
  - app-i18n/mozc
  - dev-lang/tcc
  - dev-lang/yasm
  - dev-lang/spidermonkey
  - dev-libs/glib
  - dev-libs/jsoncpp
  - dev-libs/libtommath
  - dev-libs/libxslt
  - dev-libs/libyajl
  - dev-libs/zziplib
2017-12-10 13:49:50 +01:00

84 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
}
TEST()
{
make check
}