From 9688d192760f3f86a84f0cc4934c1fef520adf8e Mon Sep 17 00:00:00 2001 From: david Date: Tue, 6 Nov 2018 16:56:21 +0100 Subject: [PATCH 1/2] unzip: remove old bee-file --- unzip-6.0-0.bee | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 unzip-6.0-0.bee diff --git a/unzip-6.0-0.bee b/unzip-6.0-0.bee deleted file mode 100755 index 609305539..000000000 --- a/unzip-6.0-0.bee +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/env beesh - -PGRP=( uncategorized ) - -SRCURL[0]="http://downloads.sourceforge.net/infozip/unzip60.tar.gz" - -#PATCHES[0]="http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.50-alt-iconv-v1.1.patch" - -# EXCLUDE="" - -B=${S} - -mee_patch() { - bee_patch -} - -mee_configure() { - true -} -mee_build() { - make -f unix/Makefile unix_make - make unzips CC=gcc LD=gcc CFLAGS="-O -Wall -DNO_LCHMOD" -} - -mee_install() { - mkdir -pv ${D}${PREFIX} - mkdir -pv ${D}${MANDIR}/man1 - make install prefix=${D}${PREFIX} MANDIR=${D}${MANDIR}/man1 -} - From 89b072ade3dbbe8805a89b3fafad8ed0cdfb4be4 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 6 Nov 2018 16:57:02 +0100 Subject: [PATCH 2/2] unzip: create new bee-file from template fix problem with nextcloud zip-archives --- unzip.be0 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 unzip.be0 diff --git a/unzip.be0 b/unzip.be0 new file mode 100755 index 000000000..36b3c52ff --- /dev/null +++ b/unzip.be0 @@ -0,0 +1,38 @@ +#!/usr/bin/env beesh + +# BEE_VERSION unzip-6.0.0-1 + +SRCURL[0]="http://downloads.sourceforge.net/infozip/unzip60.tar.gz" + + +# PATCHURL+=() + +# EXCLUDE+=() + +build_in_sourcedir + +# sourcesubdir_append src + + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + make -f unix/Makefile generic +} + +mee_install() { + mkdir -pv ${D}${PREFIX} + mkdir -pv ${D}${MANDIR}/man1 + make -f unix/Makefile install prefix=${D}${PREFIX} MANDIR=${D}${MANDIR}/man1 +} +## by default this may be 'make install DESTDIR="${D}"'