Commit 36f0c756 authored by J0WI's avatar J0WI Committed by Leo

main/unzip: add check

parent 62a022a7
......@@ -9,7 +9,6 @@ url="http://www.info-zip.org/UnZip.html"
arch="all"
license="custom"
subpackages="$pkgname-doc"
options="!check"
# normally ftp://ftp.info-zip.org/pub/infozip/src/$pkgname$_pkgver.zip
source="https://dev.alpinelinux.org/archive/unzip/unzip$_pkgver.tgz
10-unzip-handle-pkware-verify.patch
......@@ -41,6 +40,11 @@ builddir="$srcdir/$pkgname$_pkgver"
# - CVE-2015-7696
# - CVE-2015-7697
# failing tests
case "$CARCH" in
arm*) options="$options !check" ;;
esac
build() {
make -f unix/Makefile \
CC="$CHOST-gcc" \
......@@ -48,6 +52,10 @@ build() {
prefix=/usr generic
}
check() {
make -f unix/Makefile check
}
package() {
make -f unix/Makefile \
MANDIR=$pkgdir/usr/share/man/man1/ \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment