1SUMMARY="An XSLT Parser"
2DESCRIPTION="Sablotron is an XML processor fully implemented in C++. It uses \
3Expat by James Clark as an XML parser. Sablotron implements XSLT 1.0, \
4XPath 1.0 and DOM Level2."
5HOMEPAGE="https://sourceforge.net/projects/sablotron"
6COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved."
7LICENSE="MPL v1.1"
8REVISION="3"
9SOURCE_URI="https://sf.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz"
10CHECKSUM_SHA256="a0c737ada78d0d305a2a964595167e0c6d17ff0afd3b801714768deb681bf362"
11SOURCE_DIR="Sablot-1.0.3"
12
13ARCHITECTURES="all"
14
15PROVIDES="
16	sablotron = $portVersion
17	cmd:sabcmd
18	cmd:sablot_config
19	lib:libsablot = 0.100.3 compat >= 0
20	"
21REQUIRES="
22	haiku
23	lib:libexpat
24	lib:libiconv
25	"
26
27PROVIDES_devel="
28	sablotron_devel = $portVersion
29	devel:libsablot = 0.100.3 compat >= 0
30	"
31REQUIRES_devel="
32	sablotron == $portVersion base
33	"
34
35BUILD_REQUIRES="
36	haiku_devel
37	devel:libexpat
38	devel:libiconv
39	"
40BUILD_PREREQUIRES="
41	cmd:aclocal
42	cmd:autoconf
43	cmd:awk
44	cmd:gcc
45	cmd:libtoolize
46	cmd:make
47	"
48
49BUILD()
50{
51	touch NEWS
52	touch AUTHORS
53	touch COPYING
54	touch ChangeLog
55	libtoolize --force --copy --install
56	aclocal
57	automake --add-missing -Wnone
58	autoconf
59	runConfigure ./configure --disable-static
60	make $jobArgs
61}
62
63INSTALL()
64{
65	make install
66
67	rm $libDir/libsablot.la
68
69	prepareInstalledDevelLib libsablot
70
71	# devel package
72	packageEntries devel $developDir
73}
74