wok-current annotate multipath-tools/receipt @ rev 24455
updated gnustep-make (2.7.0 -> 2.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 09:08:33 2022 +0100 (2022-02-16) |
parents | 3d8aaa351317 |
children | 2ce7eccb169e |
rev | line source |
---|---|
pankso@16148 | 1 # SliTaz package receipt. |
pankso@16148 | 2 |
pankso@16148 | 3 PACKAGE="multipath-tools" |
Hans-G?nter@23202 | 4 VERSION="0.8.3" |
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@23202 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@23202 | 12 WGET_URL="https://git.opensvc.com/?p=$PACKAGE/.git;a=snapshot;h=0.8.3;sf=tgz" |
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 } |