libwps: bump to 0.4.5, fix COPYRIGHT, add TEST. (#1077)

* COPYRIGHT: add years and 1 missing author, sort by # of commits.
* SOURCE_URI: http -> https, tar.bz2 -> tar.xz.
* Add TEST: "make check"
This commit is contained in:
fbrosson
2017-01-20 05:51:48 +00:00
committed by Jérôme Duval
parent 0a321b7bbd
commit 87d1e85a93

View File

@@ -2,15 +2,16 @@ 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="Fridrich Strba
Laurent Alonso
Andrew Ziem
David Tardon"
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="http://prdownloads.sourceforge.net/libwps/libwps-$portVersion.tar.bz2"
CHECKSUM_SHA256="387c46d9543bb566381fddb8991e2838599fc500ee132fef9631a704c5cbed73"
SOURCE_URI="https://downloads.sourceforge.net/libwps/libwps-$portVersion.tar.xz"
CHECKSUM_SHA256="8e175ab9339d447a285a1533bfdc405432b9a275e4f3a98690ffaf12fe7f4d4a"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -23,7 +24,7 @@ PROVIDES="
cmd:wps2html$secondaryArchSuffix
cmd:wps2raw$secondaryArchSuffix
cmd:wps2text$secondaryArchSuffix
lib:libwps_0.4$secondaryArchSuffix = 4.0.4 compat >= 4
lib:libwps_0.4$secondaryArchSuffix = 4.0.5 compat >= 4
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -35,7 +36,7 @@ REQUIRES="
PROVIDES_devel="
libwps${secondaryArchSuffix}_devel = $portVersion
devel:libwps_0.4$secondaryArchSuffix = 4.0.4 compat >= 4
devel:libwps_0.4$secondaryArchSuffix = 4.0.5 compat >= 4
"
REQUIRES_devel="
libwps$secondaryArchSuffix == $portVersion base
@@ -50,12 +51,12 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:libtoolize$secondaryArchSuffix
cmd:autoconf
cmd:automake
cmd:autoheader
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
@@ -83,3 +84,8 @@ INSTALL()
packageEntries devel $developDir
}
TEST()
{
make check
}