SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "multipath-tools"

# SliTaz package receipt.

PACKAGE="multipath-tools"
VERSION="0.8.9"
CATEGORY="x-window"
SHORT_DESC="Device Mapper multipathing driver (provide kpartx)."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://christophe.varoqui.free.fr/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/opensvc/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"

PROVIDE="kpartx"
DEPENDS="libaio libdevmapper readline udev"
BUILD_DEPENDS="libaio-dev libdevmapper-dev readline-dev udev-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/opensvc/multipath-tools/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/kpartx 
    make &&
    cd ..
    #make LIB="/usr/lib" DESTDIR=${DESTDIR} install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/kpartx/kpartx    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)