wok-6.x annotate multipath-tools/receipt @ rev 25345

updated tar and tar-lang (1.32 -> 1.34)
author Hans-G?nter Theisgen
date Mon Jul 25 07:58:01 2022 +0100 (2022-07-25)
parents 241fb98cab1c
children
rev   line source
pankso@16148 1 # SliTaz package receipt.
pankso@16148 2
pankso@16148 3 PACKAGE="multipath-tools"
Hans-G?nter@24932 4 VERSION="0.8.9"
pankso@16148 5 CATEGORY="x-window"
pankso@16148 6 SHORT_DESC="Device Mapper multipathing driver (provide kpartx)."
pankso@16148 7 MAINTAINER="pankso@slitaz.org"
pankso@16148 8 LICENSE="GPL2"
pankso@16148 9 WEB_SITE="http://christophe.varoqui.free.fr/"
Hans-G?nter@23202 10
Hans-G?nter@24932 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24932 12 WGET_URL="https://github.com/opensvc/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
Hans-G?nter@23202 13
pascal@18455 14 PROVIDE="kpartx"
Hans-G?nter@23202 15 DEPENDS="libaio libdevmapper readline udev"
Hans-G?nter@23202 16 BUILD_DEPENDS="libaio-dev libdevmapper-dev readline-dev udev-dev"
pankso@16148 17
pascal@24453 18 # What is the latest version available today?
pascal@24453 19 current_version()
pascal@24453 20 {
pascal@24453 21 wget -O - https://github.com/opensvc/multipath-tools/tags 2>/dev/null | \
pascal@24453 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24453 23 }
pascal@24453 24
pankso@16148 25 # Rules to configure and make the package.
pankso@16148 26 compile_rules()
pankso@16148 27 {
pankso@16148 28 cd $src/kpartx
Hans-G?nter@23202 29 make &&
Hans-G?nter@23202 30 cd ..
pankso@16148 31 #make LIB="/usr/lib" DESTDIR=${DESTDIR} install
pankso@16148 32 }
pankso@16148 33
pankso@16148 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16148 35 genpkg_rules()
pankso@16148 36 {
pankso@16148 37 mkdir -p $fs/usr/bin
Hans-G?nter@23202 38 cp -a $src/kpartx/kpartx $fs/usr/bin
pankso@16148 39 }