mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libvisio: add recipe for version 0.1.0
This commit is contained in:
102
media-libs/libvisio/libvisio-0.1.0.recipe
Normal file
102
media-libs/libvisio/libvisio-0.1.0.recipe
Normal file
@@ -0,0 +1,102 @@
|
||||
SUMMARY="Microsoft Visio import library"
|
||||
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://wiki.documentfoundation.org/DLP/Libraries/libvisio"
|
||||
SRC_URI="http://dev-www.libreoffice.org/src/libvisio/libvisio-$portVersion.tar.bz2"
|
||||
LICENSE="
|
||||
MPL v2.0
|
||||
"
|
||||
COPYRIGHT="
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
Eilidh McAdam <tibbylickle@gmail.com>
|
||||
David Tardon <dtardon@redhat.com>
|
||||
"
|
||||
REVISION="1"
|
||||
CHECKSUM_SHA256="12383fcf39098ed0685a595d43e466dbc6222ee289e6f4e5e006e232973debee"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libvisio$secondaryArchSuffix = $portVersion
|
||||
cmd:vsd2raw$secondaryArchSuffix
|
||||
cmd:vsd2text$secondaryArchSuffix
|
||||
cmd:vsd2xhtml$secondaryArchSuffix
|
||||
cmd:vss2raw$secondaryArchSuffix
|
||||
cmd:vss2text$secondaryArchSuffix
|
||||
cmd:vss2xhtml$secondaryArchSuffix
|
||||
lib:libvisio_0.1$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
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:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
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:libxml2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:libtoolize
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoheader
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoheader
|
||||
automake -a -c --foreign
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libvisio-0.1
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libvisio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libvisio_0.1$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libvisio$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user