From cd88915ccba14e6bca0971c42627dc732906dfd3 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Tue, 7 Sep 2021 09:43:56 +0200 Subject: [PATCH] libblockdev: fix compile - disable -Werror=deprecated-declarations - disable python3 binding - fixed SRCURL --- libblockdev.be0 | 63 +++++-------------------------------------------- 1 file changed, 6 insertions(+), 57 deletions(-) diff --git a/libblockdev.be0 b/libblockdev.be0 index 7797c3374..e939baafb 100755 --- a/libblockdev.be0 +++ b/libblockdev.be0 @@ -1,50 +1,16 @@ #!/usr/bin/env beesh -# BEE_VERSION libblockdev-2.23-0 +# BEE_VERSION libblockdev-2.23-1 -## 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. - -SRCURL[0]="https://github.com/storaged-project/libblockdev/releases/download/${PKGVERSION}-1/libblockdev-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. +#SRCURL[0]="https://github.com/storaged-project/libblockdev/releases/download/${PKGVERSION}-1/libblockdev-${PKGVERSION}.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/b956653be98a677cf004c07b302941b9/libblockdev-${PKGVERSION}.tar.gz" # 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 built -## outside the source directory and needs to be built 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 src - -############################################################################### -## 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}" - #mee_extract() { # bee_extract "${@}" #} @@ -54,13 +20,15 @@ SRCURL[0]="https://github.com/storaged-project/libblockdev/releases/download/${P #} mee_configure() { + CFLAGS=-Wno-deprecated-declarations \ bee_configure \ --without-gtk-doc \ --without-dm \ --without-lvm \ --without-lvm-dbus \ --without-mpath \ - --without-nvdimm + --without-nvdimm \ + --without-python3 } #mee_build() { @@ -70,22 +38,3 @@ mee_configure() { #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/ -##