wok-current rev 16148

Add multipath-tools (for kpartx)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 26 23:23:42 2014 +0100 (2014-03-26)
parents 7e5a5ff83571
children ee68720a8665
files multipath-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/multipath-tools/receipt	Wed Mar 26 23:23:42 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="multipath-tools"
     1.7 +VERSION="0.5.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Device Mapper multipathing driver (provide kpartx)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://christophe.varoqui.free.fr/"
    1.14 +WGET_URL="http://christophe.varoqui.free.fr/multipath-tools/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libdevmapper udev libaio readline"
    1.17 +BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src/kpartx 
    1.23 +	make && cd ..
    1.24 +	#make LIB="/usr/lib" DESTDIR=${DESTDIR} install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/kpartx/kpartx $fs/usr/bin
    1.32 +}