wok-6.x diff hardware-thinkpad-600e/receipt @ rev 13665

ccid: typo in usbdropdir, add group pcscd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 24 11:22:59 2012 +0100 (2012-11-24)
parents
children 7bb096863642
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hardware-thinkpad-600e/receipt	Sat Nov 24 11:22:59 2012 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hardware-thinkpad-600e"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="meta"
     1.9 +MAINTAINER="devel@slitaz.org"
    1.10 +SHORT_DESC="ThinkPad 600e (PII pcmcia laptop) hardware support"
    1.11 +WEB_SITE="http://www.slitaz.org/"
    1.12 +
    1.13 +DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound xorg-xf86-video-neomagic"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/etc
    1.19 +}
    1.20 +
    1.21 +# Pre and post install commands for Tazpkg.
    1.22 +post_install()
    1.23 +{
    1.24 +	for i in thinkpad_acpi snd_cs46xx yenta_socket ; do
    1.25 +		grep -q $i $1/etc/rcS.conf ||
    1.26 +		sed -i "s/LOAD_MODULES=\"/&$i /" $i $1/etc/rcS.conf
    1.27 +		[ -n "$1" ] || modprobe $i
    1.28 +	done
    1.29 +	# FIXME update /etc/modprobe.d/ ?
    1.30 +	# modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0
    1.31 +	# modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
    1.32 +	
    1.33 +	# Video: remove 24bits (use 1024x768x16), neomagic driver
    1.34 +	sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' $1/etc/X11/xorg.conf
    1.35 +	sed -i '/Display/{NNNN/24$/d}' $1/etc/X11/xorg.conf.d/70-Screen.conf
    1.36 +	sed -i 's/vesa/neomagic/'  $1/etc/X11/xorg.conf.d/60-Device.conf
    1.37 +	cat <<EOT
    1.38 +Please turn off quickboot in the bios to activate sound card...
    1.39 +EOT
    1.40 +}