mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
85 lines
2.1 KiB
Bash
85 lines
2.1 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="c3b69a4cf50ad80af5c9c00cb8ebca0586fc9ba9d6bdeeb40112d6f43ecdbbbb"
|
|
|
|
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.1 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.1 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: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
|
|
}
|