mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
85 lines
2.0 KiB
Plaintext
85 lines
2.0 KiB
Plaintext
SUMMARY="A library for importing WordPerfect (tm) documents"
|
|
DESCRIPTION="
|
|
libwpd is a C++ library designed to help process WordPerfect documents. It \
|
|
is most commonly used to import WordPerfect documents into other word \
|
|
processors (see below), but may be useful in other cases as well.
|
|
"
|
|
HOMEPAGE="http://libwpd.sourceforge.net"
|
|
SRC_URI="http://prdownloads.sourceforge.net/libwpd/libwpd-0.9.9.tar.gz"
|
|
LICENSE="
|
|
MPL v2.0
|
|
GNU LGPL v2.1
|
|
"
|
|
COPYRIGHT="
|
|
William Lachance
|
|
Marc Maurer
|
|
Fridrich Strba
|
|
"
|
|
REVISION="2"
|
|
CHECKSUM_SHA256="6d894db0de312dbbef3359c14b967ee4d2bab4e70052c151f2a44dc39b0744b9"
|
|
|
|
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="
|
|
$portName$secondaryArchSuffix = $portVersion
|
|
cmd:wpd2html$secondaryArchSuffix
|
|
cmd:wpd2raw$secondaryArchSuffix
|
|
cmd:wpd2text$secondaryArchSuffix
|
|
lib:libwpd_0.9$secondaryArchSuffix = 9.0.9 compat >= 9
|
|
lib:libwpd_stream_0.9$secondaryArchSuffix = 9.0.9 compat >= 9
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
pkgconfig$secondaryArchSuffix >= 0.27
|
|
cmd:aclocal
|
|
cmd:libtoolize
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:awk
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libwpd-0.9 libwpd-stream-0.9
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
libwpd${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libwpd_0.9$secondaryArchSuffix = 9.0.9 compat >= 9
|
|
devel:libwpd_stream_0.9$secondaryArchSuffix = 9.0.9 compat >= 9
|
|
"
|
|
REQUIRES_devel="
|
|
$portName$secondaryArchSuffix == $portVersion base
|
|
"
|