mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
cabextract: bump to 1.7, add TEST.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user