From 741781bc534cd8dcf24df4935541f580f3b41d7f Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 6 Nov 2016 18:08:19 +0100 Subject: [PATCH] Added kpartx --- satellites/kpartx.sat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 satellites/kpartx.sat diff --git a/satellites/kpartx.sat b/satellites/kpartx.sat new file mode 100644 index 0000000..52080dd --- /dev/null +++ b/satellites/kpartx.sat @@ -0,0 +1,19 @@ +name=multipath-tools +version=0.6.3 +revision=88d526b48a85794761221422913cff608557856c +update_url="http://git.opensvc.com/?p=$name/.git;a=tags" +update_names="href=\"/?p=$name/.git;a=shortlog;h=refs/tags/$version\"" + +download "http://git.opensvc.com/?p=$name/.git;a=snapshot;h=$revision;sf=tgz" \ + '902e4715ba20f233401be9e8d3875ce3' \ + "$name-$version.tar.gz" +header_end + +extract "$name-$version.tar.gz" + +cd "$name-$(echo "$revision" | cut -c -7)/kpartx" +make +install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" kpartx +install -Dm655 -t "$dir_install/$dir_prefix/$dir_mandir/man8" kpartx.8 + +# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: