SUMMARY="A library for importing WordPerfect (tm) documents" DESCRIPTION=" libwpd is a C++ library designed to help process WordPerfect documents. It is \ most commonly used to import WordPerfect documents into other word processors \ (see below), but may be useful in other cases as well." HOMEPAGE="https://sourceforge.net/projects/libwpd/" COPYRIGHT="William Lachance Marc Maurer Fridrich Strba" LICENSE="MPL v2.0 GNU LGPL v2.1" REVISION="1" SOURCE_URI="http://prdownloads.sourceforge.net/libwpd/libwpd-$portVersion.tar.bz2" CHECKSUM_SHA256="2369a584d19991145f717cc9dc0e0bed4ca12f678dc671023623674ebd70fc54" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libwpd$secondaryArchSuffix = $portVersion cmd:wpd2html$secondaryArchSuffix cmd:wpd2raw$secondaryArchSuffix cmd:wpd2text$secondaryArchSuffix lib:libwpd_0.10$secondaryArchSuffix = 10.0.3 compat >= 10 " REQUIRES=" haiku$secondaryArchSuffix lib:librevenge_0.0$secondaryArchSuffix lib:librevenge_generators_0.0$secondaryArchSuffix lib:librevenge_stream_0.0$secondaryArchSuffix lib:libz$secondaryArchSuffix " PROVIDES_devel=" libwpd${secondaryArchSuffix}_devel = $portVersion devel:libwpd_0.10$secondaryArchSuffix = 10.0.3 compat >= 10 " REQUIRES_devel=" libwpd$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" devel:libboost_system$secondaryArchSuffix devel:librevenge_0.0$secondaryArchSuffix devel:librevenge_generators_0.0$secondaryArchSuffix devel:librevenge_stream_0.0$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:aclocal cmd:autoconf cmd:autoheader cmd:automake cmd:awk cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtoolize cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { autoreconf -fi runConfigure ./configure make $jobArgs } INSTALL() { make install rm $libDir/libwpd-0.10.la prepareInstalledDevelLibs libwpd-0.10 fixPkgconfig packageEntries devel $developDir }