#!/usr/bin/env beesh

# BEE_VERSION multipath-tools-0.8.6-0

# more info: https://github.com/opensvc/multipath-tools

# https://github.com/opensvc/multipath-tools/archive/refs/tags/0.8.6.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/254424e2402f8d9f70910ff17c46f6c1/multipath-tools-${PKGVERSION}.tar.gz"

PATCHURL+=(/src/mariux/patches/0001-libmultipath-fix-build-without-LIBDM_API_DEFERRED.patch)

# build_in_sourcedir

# sourcesubdir_append src

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

#mee_patch() {
#    bee_patch "${@}"
#}

#mee_configure() {
#    bee_configure
#}

#mee_build() {
#    bee_build
#}

mee_install() {
    # Only install kpartx
    install -D -t ${D}${SBINDIR} kpartx/kpartx
}

#mee_install_post() {
#    exit
#}