cabextract: bump to 1.7, add TEST.

This commit is contained in:
fbrosson
2018-07-26 13:16:42 +00:00
parent 610caf84bd
commit 83f127d9c4

View File

@@ -5,11 +5,11 @@ is based on the portable LGPL libmspack library. cabextract supports all \
features and formats of Microsoft cabinet files and Windows CE installation \
files. It can also look inside other files for embedded cabinets."
HOMEPAGE="https://www.cabextract.org.uk/"
COPYRIGHT="2000-2015 Stuart Caie"
COPYRIGHT="2000-2018 Stuart Caie"
LICENSE="GNU GPL v2"
REVISION="3"
REVISION="1"
SOURCE_URI="https://www.cabextract.org.uk/cabextract-$portVersion.tar.gz"
CHECKSUM_SHA256="cee661b56555350d26943c5e127fc75dd290b7f75689d5ebc1f04957c4af55fb"
CHECKSUM_SHA256="297203c826c004801ea1b17414f568e7bdf56c3ae9bbaca4d8514e8a56e506bd"
ARCHITECTURES="x86_gcc2 x86 x86_64 ?arm ?ppc"
@@ -32,6 +32,11 @@ BUILD_PREREQUIRES="
cmd:grep
"
TEST_REQUIRES="
cmd:cmp
cmd:lcab
"
BUILD()
{
runConfigure ./configure
@@ -42,3 +47,11 @@ INSTALL()
{
make install
}
TEST()
{
make check
lcab cabextract test.cab
"$sourceDir"/cabextract -dtmp test.cab
cmp cabextract tmp/cabextract
}