Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libblockdev: fix compile
- disable -Werror=deprecated-declarations
- disable python3 binding
- fixed SRCURL
  • Loading branch information
wwwutz committed Sep 7, 2021
1 parent 3986da2 commit cd88915
Showing 1 changed file with 6 additions and 57 deletions.
63 changes: 6 additions & 57 deletions 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 "${@}"
#}
Expand All @@ -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() {
Expand All @@ -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/
##

0 comments on commit cd88915

Please sign in to comment.