xmlroff-0.6.3.recipe revision 3e73c241
1SUMMARY="XML-FO to PDF formatter"
2DESCRIPTION="A fast, free, high-quality, multi-platform XSL formatter that \
3aims to excel at DocBook formatting and that integrates easily with other \
4programs and with scripting languages."
5HOMEPAGE="http://xmlroff.org"
6COPYRIGHT="2001-2002 Sun Microsystems
7	2007-2010 Meneith Consulting
8	2011-2012 Mentea"
9LICENSE="BSD (3-clause)"
10REVISION="3"
11SOURCE_URI="https://github.com/xmlroff/xmlroff/archive/v$portVersion.tar.gz"
12CHECKSUM_SHA256="ef8386da3cd2fb12ac0d59899e3017b5ab2bebe8df23a94dbe95191724c3bc8f"
13PATCHES="xmlroff-$portVersion.patchset"
14
15ARCHITECTURES="!x86_gcc2 x86 x86_64"
16SECONDARY_ARCHITECTURES="x86"
17
18PROVIDES="
19	xmlroff$secondaryArchSuffix = $portVersion
20	cmd:xmlroff$secondaryArchSuffix
21	lib:libfo_0.6$secondaryArchSuffix = 0.603.0 compat >= 0
22	"
23REQUIRES="
24	haiku$secondaryArchSuffix
25	lib:libbz2$secondaryArchSuffix
26	lib:libcairo$secondaryArchSuffix
27	lib:libffi$secondaryArchSuffix
28	lib:libfontconfig$secondaryArchSuffix
29	lib:libfreetype$secondaryArchSuffix
30	lib:libfribidi$secondaryArchSuffix
31	lib:libgdk_pixbuf_2.0$secondaryArchSuffix
32	lib:libglib_2.0$secondaryArchSuffix
33	lib:libgobject_2.0$secondaryArchSuffix
34	lib:libgthread_2.0$secondaryArchSuffix
35	lib:libharfbuzz$secondaryArchSuffix
36	lib:libiconv$secondaryArchSuffix
37	lib:libintl$secondaryArchSuffix
38	lib:libpango_1.0$secondaryArchSuffix
39	lib:libpangoft2_1.0$secondaryArchSuffix
40	lib:libpixman_1$secondaryArchSuffix
41	lib:libpng16$secondaryArchSuffix
42	lib:libxml2$secondaryArchSuffix
43	lib:libxslt$secondaryArchSuffix
44	lib:libz$secondaryArchSuffix
45	"
46
47PROVIDES_devel="
48	xmlroff${secondaryArchSuffix}_devel = $portVersion
49	devel:libfo_0.6$secondaryArchSuffix = 0.603.0 compat >= 0
50	"
51REQUIRES_devel="
52	xmlroff$secondaryArchSuffix == $portVersion base
53	"
54
55BUILD_REQUIRES="
56	haiku${secondaryArchSuffix}_devel
57	docbook_xsl_stylesheets
58	devel:libcairo$secondaryArchSuffix
59	devel:libfreetype$secondaryArchSuffix
60	devel:libfribidi$secondaryArchSuffix
61	devel:libgdk_pixbuf_2.0$secondaryArchSuffix
62	devel:libglib_2.0$secondaryArchSuffix
63	devel:libpangoft2_1.0$secondaryArchSuffix
64	devel:libxslt$secondaryArchSuffix
65	"
66BUILD_PREREQUIRES="
67	cmd:autoconf
68	cmd:automake
69	cmd:gcc$secondaryArchSuffix
70	cmd:libtool
71	cmd:make
72	cmd:pkg_config$secondaryArchSuffix
73	"
74
75BUILD()
76{
77	pushd xmlroff
78
79	runConfigure autogen.sh
80	make $jobArgs
81
82	popd
83}
84
85INSTALL()
86{
87	pushd xmlroff
88	make install
89	popd
90
91	rm $libDir/libfo*.la
92
93	prepareInstalledDevelLib libfo-0.6
94	fixPkgconfig
95
96	packageEntries devel $developDir
97}
98