wok annotate multipath-tools/receipt @ rev 19412
Update SliTaz projects
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 24 14:36:15 2016 +0300 (2016-09-24) |
parents | bd8c59a9d7f1 |
children | 3d8aaa351317 |
rev | line source |
---|---|
pankso@16148 | 1 # SliTaz package receipt. |
pankso@16148 | 2 |
pankso@16148 | 3 PACKAGE="multipath-tools" |
pankso@16148 | 4 VERSION="0.5.0" |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16148 | 10 WEB_SITE="http://christophe.varoqui.free.fr/" |
pankso@16148 | 11 WGET_URL="http://christophe.varoqui.free.fr/multipath-tools/$TARBALL" |
pascal@18455 | 12 PROVIDE="kpartx" |
pankso@16148 | 13 |
pankso@16148 | 14 DEPENDS="libdevmapper udev libaio readline" |
pankso@16148 | 15 BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev" |
pankso@16148 | 16 |
pankso@16148 | 17 # Rules to configure and make the package. |
pankso@16148 | 18 compile_rules() |
pankso@16148 | 19 { |
pankso@16148 | 20 cd $src/kpartx |
pankso@16148 | 21 make && cd .. |
pankso@16148 | 22 #make LIB="/usr/lib" DESTDIR=${DESTDIR} install |
pankso@16148 | 23 } |
pankso@16148 | 24 |
pankso@16148 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16148 | 26 genpkg_rules() |
pankso@16148 | 27 { |
pankso@16148 | 28 mkdir -p $fs/usr/bin |
pankso@16148 | 29 cp -a $src/kpartx/kpartx $fs/usr/bin |
pankso@16148 | 30 } |