wok-6.x annotate multipath-tools/receipt @ rev 18309
Up cookutils (750)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 25 12:04:37 2015 +0200 (2015-08-25) |
parents | |
children | 75937d22148a |
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" |
pankso@16148 | 12 |
pankso@16148 | 13 DEPENDS="libdevmapper udev libaio readline" |
pankso@16148 | 14 BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev" |
pankso@16148 | 15 |
pankso@16148 | 16 # Rules to configure and make the package. |
pankso@16148 | 17 compile_rules() |
pankso@16148 | 18 { |
pankso@16148 | 19 cd $src/kpartx |
pankso@16148 | 20 make && cd .. |
pankso@16148 | 21 #make LIB="/usr/lib" DESTDIR=${DESTDIR} install |
pankso@16148 | 22 } |
pankso@16148 | 23 |
pankso@16148 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16148 | 25 genpkg_rules() |
pankso@16148 | 26 { |
pankso@16148 | 27 mkdir -p $fs/usr/bin |
pankso@16148 | 28 cp -a $src/kpartx/kpartx $fs/usr/bin |
pankso@16148 | 29 } |