1SUMMARY="A helper library for REVerse ENGineered formats filters" 2DESCRIPTION="librevenge is a base library for writing document import \ 3filters. It has interfaces for text documents, vector graphics, spreadsheets \ 4and presentations." 5HOMEPAGE="https://sourceforge.net/p/libwpd/wiki/librevenge/" 6COPYRIGHT="Fridrich Strba 7 Laurent Alonso 8 David Tardon" 9LICENSE="GNU LGPL v2.1 10 MPL v2.0" 11REVISION="3" 12SOURCE_URI="http://prdownloads.sourceforge.net/libwpd/librevenge-$portVersion.tar.bz2" 13CHECKSUM_SHA256="428c918c7775a860f4fb642643099932abcf6fe5cb72c8b0d25ee6b84ad55490" 14 15ARCHITECTURES="all !x86_gcc2" 16SECONDARY_ARCHITECTURES="x86" 17 18PROVIDES=" 19 librevenge$secondaryArchSuffix = $portVersion compat >= 0 20 lib:librevenge_0.0$secondaryArchSuffix = $portVersion compat >= 0 21 lib:librevenge_generators_0.0$secondaryArchSuffix = $portVersion compat >= 0 22 lib:librevenge_stream_0.0$secondaryArchSuffix = $portVersion compat >= 0 23 " 24REQUIRES=" 25 haiku$secondaryArchSuffix 26 lib:libboost_filesystem$secondaryArchSuffix 27 lib:libboost_system$secondaryArchSuffix 28 lib:libz$secondaryArchSuffix 29 " 30 31PROVIDES_devel=" 32 librevenge${secondaryArchSuffix}_devel = $portVersion compat >= 0 33 devel:librevenge_0.0$secondaryArchSuffix = $portVersion compat >= 0 34 devel:librevenge_generators_0.0$secondaryArchSuffix = $portVersion compat >= 0 35 devel:librevenge_stream_0.0$secondaryArchSuffix = $portVersion compat >= 0 36 " 37REQUIRES_devel=" 38 librevenge${secondaryArchSuffix} == $portVersion base 39 " 40 41BUILD_REQUIRES=" 42 haiku${secondaryArchSuffix}_devel 43 devel:libboost_filesystem$secondaryArchSuffix 44 devel:libboost_system$secondaryArchSuffix 45 devel:libcppunit$secondaryArchSuffix 46 devel:libz$secondaryArchSuffix 47 " 48BUILD_PREREQUIRES=" 49 cmd:aclocal 50 cmd:autoconf 51 cmd:autoheader 52 cmd:automake 53 cmd:awk 54 cmd:gcc$secondaryArchSuffix 55 cmd:ld$secondaryArchSuffix 56 cmd:libtoolize$secondaryArchSuffix 57 cmd:make 58 cmd:pkg_config$secondaryArchSuffix 59 " 60 61BUILD() 62{ 63 libtoolize --force --copy 64 aclocal -I m4 65 autoheader 66 automake -a -c --foreign 67 autoconf 68 runConfigure ./configure 69 make $jobArgs 70} 71 72INSTALL() 73{ 74 make install 75 76 # set up the develop directory correctly 77 prepareInstalledDevelLibs librevenge-0.0 librevenge-generators-0.0 \ 78 librevenge-stream-0.0 79 fixPkgconfig 80 81 # devel package 82 packageEntries devel $developDir 83} 84