From 83f127d9c48d0f94dfa0bf3a42253a6b5400d277 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Thu, 26 Jul 2018 13:16:42 +0000 Subject: [PATCH] cabextract: bump to 1.7, add TEST. --- ...tract-1.6.recipe => cabextract-1.7.recipe} | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) rename app-arch/cabextract/{cabextract-1.6.recipe => cabextract-1.7.recipe} (75%) 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 +}