mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 11:10:07 +02:00
76 lines
1.8 KiB
Bash
76 lines
1.8 KiB
Bash
SUMMARY="An ODF export library"
|
|
DESCRIPTION="libodfgen is an ODF export library for projects using librevenge."
|
|
HOMEPAGE="http://sourceforge.net/p/libwpd/wiki/libodfgen"
|
|
COPYRIGHT="Fridrich Strba
|
|
Laurent Alonso
|
|
David Tardon"
|
|
LICENSE="MPL v2.0
|
|
GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://prdownloads.sourceforge.net/libwpd/libodfgen-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="2c7b21892f84a4c67546f84611eccdad6259875c971e98ddb027da66ea0ac9c2"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libodfgen$secondaryArchSuffix = $portVersion
|
|
lib:libodfgen_0.1$secondaryArchSuffix = 1.0.6 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libodfgen${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libodfgen_0.1$secondaryArchSuffix = 1.0.6 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libodfgen$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:librevenge_0.0$secondaryArchSuffix
|
|
devel:librevenge_generators_0.0$secondaryArchSuffix
|
|
devel:librevenge_stream_0.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:libtoolize
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoheader
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure --with-sharedptr=c++11
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libodfgen-0.1.la
|
|
prepareInstalledDevelLibs libodfgen-0.1
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|