mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Updated librevenge recipe (#792)
On the road to LibreOffice Fixed recipe Fixed recipe Copyright fix
This commit is contained in:
85
dev-libs/librevenge/librevenge-0.0.4.recipe
Normal file
85
dev-libs/librevenge/librevenge-0.0.4.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
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="http://sourceforge.net/p/libwpd/wiki/librevenge/"
|
||||
COPYRIGHT="2004-2015 Fridrich Strba
|
||||
2012-2016 David Tardon
|
||||
2002-2006, 2010 William Lachance
|
||||
2002-2006 Marc Maurer
|
||||
2011-2015 Laurent Alonso"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
MPL v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sf.net/libwpd/librevenge-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c51601cd08320b75702812c64aae0653409164da7825fd0f451ac2c5dbe77cbf"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
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:libcppunit$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy
|
||||
aclocal -I m4
|
||||
autoheader
|
||||
automake -a -c --foreign
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user