wok-current view multipath-tools/receipt @ rev 21196
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 10:33:42 2019 +0200 (2019-04-06) |
parents | bd8c59a9d7f1 |
children | 3d8aaa351317 |
line source
1 # SliTaz package receipt.
3 PACKAGE="multipath-tools"
4 VERSION="0.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Device Mapper multipathing driver (provide kpartx)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://christophe.varoqui.free.fr/"
11 WGET_URL="http://christophe.varoqui.free.fr/multipath-tools/$TARBALL"
12 PROVIDE="kpartx"
14 DEPENDS="libdevmapper udev libaio readline"
15 BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/kpartx
21 make && cd ..
22 #make LIB="/usr/lib" DESTDIR=${DESTDIR} install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/kpartx/kpartx $fs/usr/bin
30 }