mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
92 lines
2.1 KiB
Bash
92 lines
2.1 KiB
Bash
SUMMARY="Microsoft Works import library"
|
|
DESCRIPTION="libwps is a Microsoft Works file format import filter based on \
|
|
top of the librevenge."
|
|
HOMEPAGE="http://sourceforge.net/projects/libwps/"
|
|
COPYRIGHT="2011-2017 Laurent Alonso
|
|
2006-2014 Fridrich Strba
|
|
2015-2016 Sean Young
|
|
2006-2007 Andrew Ziehm
|
|
2012-2016 David Tardon"
|
|
LICENSE="MPL v2.0
|
|
GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://downloads.sourceforge.net/libwps/libwps-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="2f2cab630bceace24f9dbb7d187cd6cd1f4c9f8a7b682c5f7e49c1e2cb58b217"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libwps$secondaryArchSuffix = $portVersion
|
|
cmd:wks2csv$secondaryArchSuffix
|
|
cmd:wks2raw$secondaryArchSuffix
|
|
cmd:wks2text$secondaryArchSuffix
|
|
cmd:wps2html$secondaryArchSuffix
|
|
cmd:wps2raw$secondaryArchSuffix
|
|
cmd:wps2text$secondaryArchSuffix
|
|
lib:libwps_0.4$secondaryArchSuffix = 4.0.7 compat >= 4
|
|
"
|
|
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="
|
|
libwps${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libwps_0.4$secondaryArchSuffix = 4.0.7 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
libwps$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:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$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
|
|
|
|
# remove libtool file
|
|
rm $libDir/libwps-0.4.la
|
|
|
|
prepareInstalledDevelLibs libwps-0.4
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|