mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
libzmf: bump version.
This commit is contained in:
91
media-libs/libzmf/libzmf-0.0.2.recipe
Normal file
91
media-libs/libzmf/libzmf-0.0.2.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
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="1"
|
||||
SOURCE_URI="http://dev-www.libreoffice.org/src/libzmf/libzmf-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="4c96a3c2511817fb6a0f7002fcd612dda4aa2356b984c4bb02b7aaddde005ca7"
|
||||
|
||||
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 = $portVersion 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 = $portVersion 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
|
||||
}
|
||||
Reference in New Issue
Block a user