diff --git a/app-arch/cabextract/cabextract-1.6.recipe b/app-arch/cabextract/cabextract-1.7.recipe similarity index 75% rename from app-arch/cabextract/cabextract-1.6.recipe rename to app-arch/cabextract/cabextract-1.7.recipe index ef95215ff..2267366e7 100644 --- a/app-arch/cabextract/cabextract-1.6.recipe +++ b/app-arch/cabextract/cabextract-1.7.recipe @@ -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 +}