mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
libzmf: add recipe.
This commit is contained in:
91
media-libs/libzmf/libzmf-0.0.1.recipe
Normal file
91
media-libs/libzmf/libzmf-0.0.1.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="b69f7f6e94cf695c4b672ca65def4825490a1e7dee34c2126309b96d21a19e6b"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="?x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
libzmf$secondaryArchSuffix = $portVersion
|
||||||
|
cmd:zmf2raw = $portVersion
|
||||||
|
cmd:zmf2svg = $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$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