libvisio-0.1.7.recipe revision 7e3e176f
1SUMMARY="Microsoft Visio import library"
2DESCRIPTION="Libvisio is library providing ability to interpret and import \
3Visio diagrams into various applications. You can find it being used in \
4LibreOffice."
5HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
6COPYRIGHT="Fridrich Strba
7	Eilidh McAdam
8	David Tardon"
9LICENSE="MPL v2.0"
10REVISION="1"
11SOURCE_URI="http://dev-www.libreoffice.org/src/libvisio/libvisio-$portVersion.tar.xz"
12CHECKSUM_SHA256="8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c"
13
14ARCHITECTURES="!x86_gcc2 x86 x86_64"
15SECONDARY_ARCHITECTURES="x86"
16
17PROVIDES="
18	libvisio$secondaryArchSuffix = $portVersion
19	cmd:vsd2raw$secondaryArchSuffix
20	cmd:vsd2text$secondaryArchSuffix
21	cmd:vsd2xhtml$secondaryArchSuffix
22	cmd:vss2raw$secondaryArchSuffix
23	cmd:vss2text$secondaryArchSuffix
24	cmd:vss2xhtml$secondaryArchSuffix
25	lib:libvisio_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
26	"
27REQUIRES="
28	haiku$secondaryArchSuffix
29	lib:libboost_system$secondaryArchSuffix
30	lib:libicudata$secondaryArchSuffix
31	lib:libicui18n$secondaryArchSuffix
32	lib:libicuuc$secondaryArchSuffix
33	lib:librevenge_0.0$secondaryArchSuffix
34	lib:librevenge_generators_0.0$secondaryArchSuffix
35	lib:librevenge_stream_0.0$secondaryArchSuffix
36	lib:libxml2$secondaryArchSuffix
37	lib:libz$secondaryArchSuffix
38	"
39
40PROVIDES_devel="
41	libvisio${secondaryArchSuffix}_devel = $portVersion
42	devel:libvisio_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
43	"
44REQUIRES_devel="
45	libvisio$secondaryArchSuffix == $portVersion base
46	devel:libicui18n$secondaryArchSuffix
47	devel:libxml2$secondaryArchSuffix
48	"
49
50BUILD_REQUIRES="
51	haiku${secondaryArchSuffix}_devel
52	devel:libboost_system$secondaryArchSuffix
53	devel:libcppunit$secondaryArchSuffix
54	devel:libicudata$secondaryArchSuffix
55	devel:libicui18n$secondaryArchSuffix
56	devel:libicuuc$secondaryArchSuffix
57	devel:librevenge_0.0$secondaryArchSuffix
58	devel:librevenge_generators_0.0$secondaryArchSuffix
59	devel:librevenge_stream_0.0$secondaryArchSuffix
60	devel:libxml2$secondaryArchSuffix
61	devel:libz$secondaryArchSuffix
62	"
63BUILD_PREREQUIRES="
64	cmd:aclocal
65	cmd:autoconf
66	cmd:autoheader
67	cmd:automake
68	cmd:gcc$secondaryArchSuffix
69	cmd:gperf
70	cmd:ld$secondaryArchSuffix
71	cmd:libtoolize$secondaryArchSuffix
72	cmd:make
73	cmd:perl
74	cmd:pkg_config$secondaryArchSuffix
75	"
76
77BUILD()
78{
79	libtoolize --force --copy --install
80	aclocal
81	autoheader
82	automake -a -c --foreign
83	autoconf
84	runConfigure ./configure
85	make $jobArgs
86}
87
88INSTALL()
89{
90	make install
91
92	rm $libDir/libvisio-0.1.la
93
94	prepareInstalledDevelLibs libvisio-0.1
95	fixPkgconfig
96
97	packageEntries devel $developDir
98}
99