mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
92 lines
2.3 KiB
Bash
92 lines
2.3 KiB
Bash
SUMMARY="Zoner Callisto/Draw import library"
|
|
DESCRIPTION="Libzmf is a library that parses the file format \
|
|
of Zoner Callisto/Draw documents. Currently it only understands documents \
|
|
created by Zoner Draw version 4 and 5."
|
|
HOMEPAGE="http://wiki.documentfoundation.org/DLP/Libraries/libzmf"
|
|
COPYRIGHT="Aleksas Pantechovskis
|
|
Fridrich Strba
|
|
David Tardon"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="3"
|
|
SOURCE_URI="http://dev-www.libreoffice.org/src/libzmf/libzmf-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="b69f7f6e94cf695c4b672ca65def4825490a1e7dee34c2126309b96d21a19e6b"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
libzmf$secondaryArchSuffix = $portVersion
|
|
cmd:zmf2raw$secondaryArchSuffix = $portVersion
|
|
cmd:zmf2svg$secondaryArchSuffix = $portVersion
|
|
lib:libzmf_0.0$secondaryArchSuffix = 0.0.1 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libicui18n$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libzmf${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libzmf_0.0$secondaryArchSuffix = 0.0.1 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libzmf$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix >= 1.57.0
|
|
devel:libboost_math_c99$secondaryArchSuffix >= 1.57.0
|
|
devel:libcppunit$secondaryArchSuffix
|
|
devel:libicui18n$secondaryArchSuffix
|
|
devel:libpng$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$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoheader
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure --disable-werror
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libzmf-0.0.la
|
|
|
|
prepareInstalledDevelLibs libzmf-0.0
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|