74 lines
2.1 KiB
Bash
74 lines
2.1 KiB
Bash
SUMMARY="A helper library for REVerse ENGineered formats filters"
|
|
DESCRIPTION="librevenge is a base library for writing document import \
|
|
filters. It has interfaces for text documents, vector graphics, spreadsheets \
|
|
and presentations."
|
|
HOMEPAGE="https://sourceforge.net/p/libwpd/wiki/librevenge/"
|
|
COPYRIGHT="Fridrich Strba
|
|
Laurent Alonso
|
|
David Tardon"
|
|
LICENSE="GNU LGPL v2.1
|
|
MPL v2.0"
|
|
REVISION="2"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-$portVersion/librevenge-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="55b9fde4c729a525db36d37b51a0f5d8614d4c631e336320e540dfce3128f7f7"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
librevenge$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:librevenge_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libboost_filesystem$secondaryArchSuffix
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
librevenge${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:librevenge_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
devel:librevenge_generators_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
devel:librevenge_stream_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
librevenge${secondaryArchSuffix} == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_filesystem$secondaryArchSuffix
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure \
|
|
--with-boost-libdir=`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# set up the develop directory correctly
|
|
prepareInstalledDevelLibs librevenge-0.0 librevenge-generators-0.0 \
|
|
librevenge-stream-0.0
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel $developDir
|
|
}
|