wok-6.x view multipath-tools/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 3d8aaa351317 |
children | 2ce7eccb169e |
line source
1 # SliTaz package receipt.
3 PACKAGE="multipath-tools"
4 VERSION="0.8.3"
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.tgz"
12 WGET_URL="https://git.opensvc.com/?p=$PACKAGE/.git;a=snapshot;h=0.8.3;sf=tgz"
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 }