Files
haikuports/app-text/libmspub/libmspub-0.1.2.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

82 lines
2.0 KiB
Bash

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"
COPYRIGHT="Brennan Vincent
Fridrich Strba
David Tardon"
LICENSE="MPL v2.0"
REVISION="2"
SOURCE_URI="http://dev-www.libreoffice.org/src/libmspub/libmspub-$portVersion.tar.bz2"
CHECKSUM_SHA256="26d488527ffbb0b41686d4bab756e3e6aaeb99f88adeb169d0c16d2cde96859a"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libmspub$secondaryArchSuffix = $portVersion
cmd:pub2raw$secondaryArchSuffix
cmd:pub2xhtml$secondaryArchSuffix
lib:libmspub_0.1$secondaryArchSuffix = 1.0.2 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
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
"
PROVIDES_devel="
libmspub${secondaryArchSuffix}_devel = $portVersion
devel:libmspub_0.1$secondaryArchSuffix = 1.0.2 compat >= 1
"
REQUIRES_devel="
libmspub$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
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="
cmd:aclocal
cmd:libtoolize
cmd:autoreconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libmspub-0.1.la
prepareInstalledDevelLibs libmspub-0.1
fixPkgconfig
packageEntries devel $developDir
}