wok-6.x rev 2233
ivman: use custom rules (have more to do)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 13 00:20:51 2009 +0100 (2009-02-13) |
parents | d227250e6276 |
children | 830be51d2d47 |
files | ivman/receipt ivman/stuff/IvmConfigActions.xml |
line diff
1.1 --- a/ivman/receipt Fri Feb 13 00:19:48 2009 +0100 1.2 +++ b/ivman/receipt Fri Feb 13 00:20:51 2009 +0100 1.3 @@ -8,8 +8,8 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 -BUILD_DEPENDS="hal-dev hal" 1.8 DEPENDS="hal dbus glib libxml2" 1.9 +BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev" 1.10 CONFIG_FILES="/etc/ivman" 1.11 1.12 # Rules to configure and make the package. 1.13 @@ -25,9 +25,10 @@ 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 { 1.17 - mkdir -p $fs/usr/share 1.18 + mkdir -p $fs/usr 1.19 cp -a $_pkg/etc $fs 1.20 cp -a $_pkg/usr/bin $fs/usr 1.21 - cp -a $_pkg/usr/share/locale $fs/usr/share 1.22 + cp -a stuff/*.xml $fs/etc/ivman 1.23 + sed -i s/'bash'/'sh'/ $fs/usr/bin/ivman-launch 1.24 } 1.25
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ivman/stuff/IvmConfigActions.xml Fri Feb 13 00:20:51 2009 +0100 2.3 @@ -0,0 +1,33 @@ 2.4 +<?xml version="1.0" encoding="UTF-8"?> 2.5 +<ivm:ActionsConfig version="0.2" xmlns:ivm="http://www.eikke.com/ivm"> 2.6 + <!-- Read the IvmConfigActions.xml man page for details on how to edit this file. --> 2.7 + 2.8 + <ivm:Option name="checkOnInit" value="true" /> 2.9 + 2.10 + <!-- mount everything we can --> 2.11 + <!-- 2.12 + <ivm:Match name="ivm.mountable" value="true"> 2.13 + <ivm:Option name="mount" value="true" /> 2.14 + </ivm:Match> 2.15 + --> 2.16 + 2.17 + <!-- rip CDs with audio tracks and no data tracks --> 2.18 + 2.19 + <ivm:Match name="hal.volume.disc.type" value="cd_rom"> 2.20 + <ivm:Match name="hal.volume.disc.has_audio" value="true"> 2.21 + <ivm:Match name="hal.volume.disc.has_data" value="false"> 2.22 + <ivm:Option name="exec" value="asunder" /> 2.23 + </ivm:Match> 2.24 + </ivm:Match> 2.25 + </ivm:Match> 2.26 + 2.27 + <!-- Notification with dzen2 --> 2.28 + <!-- 2.29 + <ivm:Match name="hal.info.category" value="storage"> 2.30 + <ivm:Match name="hal.storage.bus" value="usb"> 2.31 + <ivm:Option name="exec" value="echo 'USB storage device detected' | dzen2 -p 4 -fn fixed" /> 2.32 + </ivm:Match> 2.33 + </ivm:Match> 2.34 + --> 2.35 + 2.36 +</ivm:ActionsConfig>