mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
librevenge: add recipe for version 0.0.1
This commit is contained in:
91
dev-libs/librevenge/librevenge-0.0.1.recipe
Normal file
91
dev-libs/librevenge/librevenge-0.0.1.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="A helper library for REVerses 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.
|
||||
"
|
||||
LICENSE="
|
||||
GNU LGPL v2.1
|
||||
MPL v2.0
|
||||
"
|
||||
COPYRIGHT="
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
Laurent Alonso <laurent.alonso@inria.fr>
|
||||
David Tardon <dtardon@redhat.com>
|
||||
"
|
||||
HOMEPAGE="http://sourceforge.net/p/libwpd/wiki/librevenge/"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libwpd/librevenge-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="428c918c7775a860f4fb642643099932abcf6fe5cb72c8b0d25ee6b84ad55490"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
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 >= $haikuVersion
|
||||
lib:libboost_filesystem$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libboost_filesystem$secondaryArchSuffix
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libcppunit$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:awk
|
||||
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
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
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
|
||||
"
|
||||
Reference in New Issue
Block a user