wok diff ivman/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 91638e9e8658
children ba7cbdb5749c
line diff
     1.1 --- a/ivman/receipt	Fri Dec 09 10:29:11 2011 +0100
     1.2 +++ b/ivman/receipt	Mon Apr 14 19:59:46 2014 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Generic handler for HAL events."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2 QPL"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 +CONFIG_FILES="/etc/ivman"
    1.12 +
    1.13  DEPENDS="hal dbus glib libxml2 zlib"
    1.14  BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
    1.15 -CONFIG_FILES="/etc/ivman"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -19,15 +21,15 @@
    1.20  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21  	--mandir=/usr/share/man --sysconfdir=/etc $CONFIGURE_ARGS &&
    1.22  	make &&
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	make 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
    1.31 -	cp -a $_pkg/etc $fs
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $install/etc $fs
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35  	cp -a stuff/*.xml $fs/etc/ivman
    1.36  	sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch
    1.37  }