Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libcap-ng: Add version 0.8.2
From the [GitHub project page][1]:

> Libcap-ng is a library for Linux that makes using posix capabilities
> easy.

virtiofsd requires libcap-ng:

    ../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel

Run `autogen.sh` in the source directory, as it requires `configure.ac`
in the same directory, and Bee’s buildtype *autogen* is run from the
build directory. Running it manually, the buildtype *autotools* is used.

    [BEE] using magic buildtype 'autotools' from '/usr/libexec/bee/beesh.d/autotools.sh' ..

[1]: https://github.com/stevegrubb/libcap-ng/
  • Loading branch information
pmenzel committed May 28, 2021
1 parent f66c020 commit 7f3dcf1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions libcap-ng.be0
@@ -0,0 +1,38 @@
#!/usr/bin/env beesh

# BEE_VERSION libcap-ng-0.8.2-0

SRCURL[0]="https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v${PKGVERSION}.tar.gz libcap-ng-${PKGVERSION}.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

mee_patch() {
bee_patch "${@}"
# buildtype *autogen* is run from build directory, so run the script
# manually, so buildtype *autotools* can be used.
start_cmd ./autogen.sh
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}

0 comments on commit 7f3dcf1

Please sign in to comment.