Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
davfs2: fix SRCURL
- fixed SRCURL
- cleanup
  • Loading branch information
wwwutz committed Oct 29, 2021
1 parent ef4e52b commit 0203871
Showing 1 changed file with 11 additions and 60 deletions.
71 changes: 11 additions & 60 deletions davfs2.be0
@@ -1,44 +1,16 @@
#!/usr/bin/env beesh

# BEE_VERSION davfs2-1.5.5-0
# BEE_VERSION davfs2-1.5.5-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://download.savannah.nongnu.org/releases/davfs2/davfs2-${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://download.savannah.nongnu.org/releases/davfs2/davfs2-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/936f5077cfac3f5c7a142d6ac9e96394/davfs2-1.5.5.tar.gz"

# PATCHURL+=()

###############################################################################
## 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 @@ -47,9 +19,10 @@ build_in_sourcedir
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure \
--disable-nls
}

#mee_build() {
# bee_build
Expand All @@ -58,32 +31,10 @@ build_in_sourcedir
#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
# Remove
# /etc/davfs2/
# /etc/davfs2/certs/
# /etc/davfs2/certs/private/
# /etc/davfs2/secrets
# /etc/davfs2/davfs2.conf
start_cmd rm -rv ${D}/etc
cd ${D}
rm -rv etc
rm -rv usr/share/doc
rm -rv usr/share/man/{de,es}
}

###############################################################################
##
## 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 0203871

Please sign in to comment.