mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
93 lines
2.3 KiB
Bash
93 lines
2.3 KiB
Bash
SUMMARY="A library providing ability to interpret and import visio diagrams"
|
|
DESCRIPTION="
|
|
Libvisio is library providing ability to interpret and import visio \
|
|
diagrams into various applications. You can find it being used in \
|
|
libreoffice."
|
|
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libvisio/"
|
|
COPYRIGHT="2011 Fridrich Strba
|
|
2011 Eilidh McAdam"
|
|
LICENSE="GNU GPL v2
|
|
GNU LGPL v2.1
|
|
MPL v1.1"
|
|
REVISION="3"
|
|
SOURCE_URI="http://dev-www.libreoffice.org/src/libvisio-0.0.31.tar.gz"
|
|
CHECKSUM_SHA256="4805b530eb79a9817d5daa3f069ef24959f439c0c0c80f12d30f9bc67b00cf90"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
$portName$secondaryArchSuffix = $portVersion
|
|
cmd:vsd2raw$secondaryArchSuffix
|
|
cmd:vsd2text$secondaryArchSuffix
|
|
cmd:vsd2xhtml$secondaryArchSuffix
|
|
cmd:vss2raw$secondaryArchSuffix
|
|
cmd:vss2text$secondaryArchSuffix
|
|
cmd:vss2xhtml$secondaryArchSuffix
|
|
lib:libvisio_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libicui18n$secondaryArchSuffix
|
|
lib:libicuuc$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix
|
|
lib:libwpd_0.9$secondaryArchSuffix
|
|
lib:libwpg_0.2$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libvisio${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libvisio_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
$portName$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
boost${secondaryArchSuffix}_devel >= 1.36
|
|
devel:libicui18n$secondaryArchSuffix
|
|
devel:libicuuc$secondaryArchSuffix
|
|
devel:libicudata$secondaryArchSuffix
|
|
devel:libwpd_0.9$secondaryArchSuffix
|
|
devel:libwpg_0.2$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
pkgconfig$secondaryArchSuffix >= 0.27
|
|
cmd:aclocal
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:gperf
|
|
cmd:icu_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libvisio-0.0
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|