From 6e05d6bcd6d613c6bdf6ca1eb82aebbd71f8507b Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 10 Jun 2014 23:05:09 +0200 Subject: [PATCH] unzip: fix recipe syntax. Still does not build. --- app-arch/unzip/unzip-6.0.recipe | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/app-arch/unzip/unzip-6.0.recipe b/app-arch/unzip/unzip-6.0.recipe index 90d29b697..fdfede7af 100644 --- a/app-arch/unzip/unzip-6.0.recipe +++ b/app-arch/unzip/unzip-6.0.recipe @@ -6,31 +6,38 @@ or test its integrity. " HOMEPAGE="http://www.info-zip.org/UnZip.html" SRC_URI="http://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz" +CHECKSUM_SHA256="036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37" REVISION="1" -STATUS_HAIKU="broken" -DEPEND="" -CHECKSUM_MD5="62b490407489521db863b523a7f86375" +ARCHITECTURES="!x86_gcc2" + +PROVIDES=" + unzip = $portVersion +" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:make +" + +SOURCE_DIR="unzip60" BUILD() { - cd unzip60 make -f beos/Makefile \ - PREFIX=`finddir B_COMMON_DIRECTORY` \ - MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man + PREFIX=$prefix MANDIR=$manDir } INSTALL() { - cd unzip60 make -f beos/Makefile install } TEST() { - cd unzip60 -# make test + make test # make check } LICENSE="Info-ZIP" -#COPYRIGHT="" +COPYRIGHT="1995-2014 Greg Roelofs"