0
0
Fork 0
haikuports/app-text/sablotron/sablotron-1.0.3.recipe

74 lines
1.3 KiB
Bash

SUMMARY="An XSLT Parser"
DESCRIPTION="Sablotron is an XML processor fully implemented in C++. It uses \
Expat by James Clark as an XML parser. Sablotron implements XSLT 1.0, \
XPath 1.0 and DOM Level2."
HOMEPAGE="https://sourceforge.net/projects/sablotron"
COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved."
LICENSE="MPL v1.1"
REVISION="2"
SOURCE_URI="https://sf.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz"
CHECKSUM_SHA256="a0c737ada78d0d305a2a964595167e0c6d17ff0afd3b801714768deb681bf362"
SOURCE_DIR="Sablot-1.0.3"
ARCHITECTURES="all"
PROVIDES="
sablotron = $portVersion
cmd:sabcmd
cmd:sablot_config
lib:libsablot = 0.100.3 compat >= 0
"
REQUIRES="
haiku
lib:libexpat
lib:libiconv
"
PROVIDES_devel="
sablotron_devel = $portVersion
devel:libsablot = 0.100.3 compat >= 0
"
REQUIRES_devel="
sablotron == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libexpat
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:gcc
cmd:libtoolize
cmd:make
"
BUILD()
{
touch NEWS
touch AUTHORS
touch COPYING
touch ChangeLog
libtoolize --force --copy --install
aclocal
automake --add-missing -Wnone
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libsablot.la
prepareInstalledDevelLib libsablot
# devel package
packageEntries devel $developDir
}