SUMMARY="Microsoft Publisher import library" DESCRIPTION=" libmspub is a library that parses the file format of Microsoft Publisher \ documents of all versions. " HOMEPAGE="http://wiki.documentfoundation.org/DLP/Libraries/libmspub" SRC_URI="http://dev-www.libreoffice.org/src/libmspub/libmspub-$portVersion.tar.bz2" LICENSE=" MPL v2.0 " COPYRIGHT=" Brennan Vincent Fridrich Strba David Tardon " REVISION="1" CHECKSUM_SHA256="c3b69a4cf50ad80af5c9c00cb8ebca0586fc9ba9d6bdeeb40112d6f43ecdbbbb" ARCHITECTURES="x86 ?x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building # for a different secondary architecture. ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" PROVIDES=" libmspub$secondaryArchSuffix = $portVersion cmd:pub2raw$secondaryArchSuffix cmd:pub2xhtml$secondaryArchSuffix lib:libmspub_0.1$secondaryArchSuffix = 1.0.1 compat >= 1 " REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion lib:libboost_system$secondaryArchSuffix lib:libicudata$secondaryArchSuffix lib:libicui18n$secondaryArchSuffix lib:libicuuc$secondaryArchSuffix lib:librevenge_0.0$secondaryArchSuffix lib:librevenge_generators_0.0$secondaryArchSuffix lib:librevenge_stream_0.0$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" devel:libboost_system$secondaryArchSuffix devel:libicudata$secondaryArchSuffix devel:libicui18n$secondaryArchSuffix devel:libicuuc$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 >= $haikuVersion cmd:aclocal cmd:libtoolize cmd:autoheader cmd:autoconf cmd:automake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { libtoolize --force --copy --install aclocal autoheader automake autoconf runConfigure ./configure make $jobArgs } INSTALL() { make install prepareInstalledDevelLibs libmspub-0.1 fixPkgconfig packageEntries devel $developDir } PROVIDES_devel=" libmspub${secondaryArchSuffix}_devel = $portVersion devel:libmspub_0.1$secondaryArchSuffix = 1.0.1 compat >= 1 " REQUIRES_devel=" libmspub$secondaryArchSuffix == $portVersion base "