wok-6.x view multipath-tools/receipt @ rev 25445

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