wok-current annotate hal-extra/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents ca2e9a95d244
children 7896f0694ef6
rev   line source
pankso@792 1 # SliTaz package receipt.
pankso@792 2
pankso@792 3 PACKAGE="hal-extra"
slaxemulator@6818 4 VERSION="0.5.14"
pankso@792 5 CATEGORY="x-window"
jozee@5103 6 SHORT_DESC="Hal extra lib and fdi files."
pankso@792 7 WANTED="hal"
pankso@792 8 MAINTAINER="pankso@slitaz.org"
pankso@792 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/hal"
pascal@2482 10 DEPENDS="dbus dbus-glib glib hal"
pankso@792 11 EXTRA="
pankso@792 12 hald-addon-cpufreq
pankso@792 13 hald-addon-hid-ups
pankso@792 14 hald-addon-imac-backlight
pankso@3106 15 hald-addon-ipw-killswitch
pankso@792 16 hald-probe-video4linux
pankso@792 17 hald-probe-net-bluetooth
pankso@792 18 hald-probe-ieee1394-unit
pankso@792 19 hald-probe-pc-floppy
pankso@3106 20 hald-probe-printer"
pankso@792 21
pankso@792 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@792 23 genpkg_rules()
pankso@792 24 {
jozee@5103 25 mkdir -p $fs/usr/lib/hal $fs/usr/share/hal/fdi/policy/10osvendor
pankso@792 26 for lib in $EXTRA
pankso@792 27 do
pankso@792 28 cp $_pkg/usr/lib/hal/$lib $fs/usr/lib/hal
pankso@792 29 done
jozee@5103 30
jozee@5103 31 # copy some excluded files from hal
jozee@5103 32 cp -a $_pkg/usr/share/hal/fdi/policy/10osvendor/10-cpufreq.fdi $fs/usr/share/hal/fdi/policy/10osvendor
jozee@5103 33 cp -a $_pkg/usr/share/hal/fdi/policy/10osvendor/10-dockstation.fdi $fs/usr/share/hal/fdi/policy/10osvendor
jozee@5103 34 cp -a $_pkg/usr/share/hal/fdi/policy/10osvendor/10-imac-backlight.fdi $fs/usr/share/hal/fdi/policy/10osvendor
jozee@5103 35 cp -a $_pkg/usr/share/hal/fdi/policy/10osvendor/15-storage-luks.fdi $fs/usr/share/hal/fdi/policy/10osvendor
jozee@5103 36 cp -a $_pkg/usr/share/hal/fdi/policy/10osvendor/30-wol.fdi $fs/usr/share/hal/fdi/policy/10osvendor
pankso@792 37 }