mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 10:40:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
76 lines
1.8 KiB
Bash
76 lines
1.8 KiB
Bash
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"
|
|
COPYRIGHT="William Lachance
|
|
Marc Maurer
|
|
Fridrich Strba"
|
|
LICENSE="MPL v2.0
|
|
GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://prdownloads.sourceforge.net/libwpd/libwpd-0.9.9.tar.gz"
|
|
CHECKSUM_SHA256="6d894db0de312dbbef3359c14b967ee4d2bab4e70052c151f2a44dc39b0744b9"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86"
|
|
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
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
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
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
pkgconfig$secondaryArchSuffix >= 0.27
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
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
|
|
}
|