sablotron, updated old bep file to working recipe (#1289)

This commit is contained in:
Schrijvers Luc
2017-04-22 22:39:33 +02:00
committed by waddlesplash
parent 6f098e9147
commit 9525ce33e0

View File

@@ -1,13 +1,52 @@
DESCRIPTION="Sablotron XML processor" 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="http://sourceforge.net/projects/sablotron" HOMEPAGE="http://sourceforge.net/projects/sablotron"
SOURCE_URI="http://sourceforge.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz/download" COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved."
LICENSE="MPL v1.1"
REVISION="1" REVISION="1"
STATUS_HAIKU="stable" SOURCE_URI="https://sf.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz"
DEPEND="" CHECKSUM_SHA256="a0c737ada78d0d305a2a964595167e0c6d17ff0afd3b801714768deb681bf362"
CHECKSUM_MD5="72654c4b832e7562f8240ea675577f5e" SOURCE_DIR="Sablot-1.0.3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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() BUILD()
{ {
cd Sablot-1.0.3
touch NEWS touch NEWS
touch AUTHORS touch AUTHORS
touch COPYING touch COPYING
@@ -16,15 +55,18 @@ BUILD()
aclocal aclocal
automake --add-missing -Wnone automake --add-missing -Wnone
autoconf autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY` runConfigure ./configure
make make $jobArgs
} }
INSTALL() INSTALL()
{ {
cd Sablot-1.0.3
make install make install
}
LICENSE="MPL v1.1" rm $libDir/libsablot.la
COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved."
prepareInstalledDevelLib libsablot
# devel package
packageEntries devel $developDir
}