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="http://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="8859deb6df292c82c7657b7ecbb6f3ef65da252df9d265b755f06bec77add52c" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libwpd$secondaryArchSuffix = $portVersion cmd:wpd2html$secondaryArchSuffix cmd:wpd2raw$secondaryArchSuffix cmd:wpd2text$secondaryArchSuffix lib:libwpd_0.10$secondaryArchSuffix = 10.0.2 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.2 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:automake cmd:autoheader 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 }