From caf7e407a2d68315b5a93c112bcb7e1efb41c9b7 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 21 Nov 2019 13:07:05 +0100 Subject: [PATCH] btrfs-progs: update to 5.3 - disable python to prevent using /pkg etc - disable shared to prevent dependecies --- btrfs-progs.be0 | 68 ++++++++----------------------------------------- 1 file changed, 11 insertions(+), 57 deletions(-) diff --git a/btrfs-progs.be0 b/btrfs-progs.be0 index f3828090e..3b4f6cfe6 100755 --- a/btrfs-progs.be0 +++ b/btrfs-progs.be0 @@ -1,49 +1,16 @@ #!/usr/bin/env beesh -# BEE_VERSION btrfs-progs-4.8.5-0 +# BEE_VERSION btrfs-progs-5.3-2 -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. +# more info: https://foo.bar.com SRCURL[0]="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${PKGVERSION}.tar.xz" -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - # PATCHURL+=() -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - build_in_sourcedir -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - -#sourcesubdir_append source - - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" +# sourcesubdir_append src #mee_extract() { # bee_extract "${@}" @@ -53,9 +20,11 @@ build_in_sourcedir # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + --disable-shared \ + --disable-python +} #mee_build() { # bee_build @@ -64,22 +33,7 @@ build_in_sourcedir #mee_install() { # bee_install #} -## by default this may be 'make install DESTDIR="${D}"' -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## +#mee_install_post() { +# exit +#}