wok diff multipath-tools/receipt @ rev 17250

libarchive-dev: update genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 12:29:39 2014 +0200 (2014-10-19)
parents
children 75937d22148a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/multipath-tools/receipt	Sun Oct 19 12:29:39 2014 +0200
     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 +}