SUMMARY="The free WPG library and converter" DESCRIPTION="libwpg project is a collection of library and tools to work with \ graphics in WPG (WordPerfect Graphics) format." HOMEPAGE="http://libwpg.sourceforge.net" COPYRIGHT="Marc Oude Kotte Marc Maurer Ariya Hidayat Fridrich Strba" LICENSE="MPL v2.0 GNU LGPL v2.1" REVISION="1" SOURCE_URI="http://prdownloads.sourceforge.net/libwpg/libwpg-$portVersion.tar.gz" CHECKSUM_SHA256="6c6f4fb5d69888f2ebad2f20d097163fbdad54a56004c6e6b0c599c5e960f00a" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libwpg$secondaryArchSuffix = $portVersion cmd:wpg2raw$secondaryArchSuffix cmd:wpg2svg$secondaryArchSuffix cmd:wpg2svgbatch.pl$secondaryArchSuffix lib:libwpg_0.3$secondaryArchSuffix = 3.0.4 compat >= 3 " REQUIRES=" haiku$secondaryArchSuffix cmd:perl lib:librevenge_0.0$secondaryArchSuffix lib:librevenge_generators_0.0$secondaryArchSuffix lib:librevenge_stream_0.0$secondaryArchSuffix lib:libwpd_0.10$secondaryArchSuffix lib:libz$secondaryArchSuffix " PROVIDES_devel=" libwpg${secondaryArchSuffix}_devel = $portVersion devel:libwpg_0.3$secondaryArchSuffix = 3.0.4 compat >= 3 " REQUIRES_devel=" libwpg$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libboost_system$secondaryArchSuffix # for optional headers devel:librevenge_0.0$secondaryArchSuffix devel:librevenge_generators_0.0$secondaryArchSuffix devel:librevenge_stream_0.0$secondaryArchSuffix devel:libwpd_0.10$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:autoheader cmd:automake 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/libwpg-0.3.la prepareInstalledDevelLibs libwpg-0.3 fixPkgconfig packageEntries devel $developDir }