mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libwpd: updated recipe and version
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION="libwpd - a library for importing WordPerfect (tm) documents"
|
||||
HOMEPAGE="libwpd.sourceforge.net"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libwpd/libwpd-0.9.6.tar.gz?download"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building"
|
||||
CHECKSUM_MD5="979fc276bcecb1f3220b529ffa68d52c"
|
||||
REVISION="1"
|
||||
DEPEND="glib >= 2.0.0
|
||||
libgsf >= 1.6.0"
|
||||
BUILD()
|
||||
{
|
||||
cd libwpd-0.9.6
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libwpd-0.9.6
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002 William Lachance
|
||||
2002 Marc Maurer"
|
||||
81
app-text/libwpd/libwpd-0.9.9.recipe
Normal file
81
app-text/libwpd/libwpd-0.9.9.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
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="1"
|
||||
CHECKSUM_SIZE="882955"
|
||||
CHECKSUM_RMD160="dafe38980550c6deff71205cb15033411019d1e3"
|
||||
CHECKSUM_SHA512="ea17c26d3e888e5573649da0e3c5cfa6ab1af27908dffb064a8a7b26368c1b54b451f967e17ec52ab61bcd771ffe645213a9b8e0917b281a7f067f4750f076c0"
|
||||
|
||||
ARCHITECTURES="x86 !x86_gcc2 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86 !x86_gcc2"
|
||||
|
||||
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 >= 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
|
||||
"
|
||||
Reference in New Issue
Block a user