From 4f6a84ad273c60e5f5cb32859f706ebce17788fb Mon Sep 17 00:00:00 2001 From: david Date: Fri, 30 Aug 2019 10:46:07 +0200 Subject: [PATCH] rar: Update from 5.6.1 to 5.7.1 create be0 file fix makefile --- rar-5.6.1-0.bee | 35 ----------------------------------- rar.be0 | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 35 deletions(-) delete mode 100755 rar-5.6.1-0.bee create mode 100755 rar.be0 diff --git a/rar-5.6.1-0.bee b/rar-5.6.1-0.bee deleted file mode 100755 index 68f6dfb70..000000000 --- a/rar-5.6.1-0.bee +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env beesh - -SRCURL[0]="https://www.rarlab.com/rar/rarlinux-x64-${PKGVERSION}.tar.gz" - -PATCHURL[0]="" - -# BEE_CONFIGURE=compat - -# BEE_BUILDTYPE= - -# EXCLUDE="" - -build_in_sourcedir - - -#mee_extract() { -# bee_extract ${@} -#} - -#mee_patch() { -# bee_patch ${@} -#} - -#mee_configure() { -# bee_configure -#} - -#mee_build() { -# bee_build -#} - -mee_install() { - mkdir -pv ${D}${BINDIR} - cp -v rar unrar ${D}${BINDIR} -} diff --git a/rar.be0 b/rar.be0 new file mode 100755 index 000000000..8013e632f --- /dev/null +++ b/rar.be0 @@ -0,0 +1,34 @@ +#!/usr/bin/env beesh + +# BEE_VERSION rar-5.7.1-0 + +SRCURL[0]="https://www.rarlab.com/rar/rarlinux-x64-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + echo "*hust* make" +} + +mee_install() { + sed -i -e "s%/usr/local%${D}/usr%" -e 's/cp rarfiles/#/' -e 's/cp default/#/' makefile + make install +} +## by default this may be 'make install DESTDIR="${D}"'