wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@11553 | 1 # SliTaz package receipt. |
pascal@11553 | 2 |
pascal@11553 | 3 PACKAGE="hardware-thinkpad-600e" |
pascal@11553 | 4 VERSION="1.0" |
pascal@11553 | 5 CATEGORY="meta" |
pascal@11553 | 6 MAINTAINER="devel@slitaz.org" |
pascal@11553 | 7 SHORT_DESC="ThinkPad 600e (PII pcmcia laptop) hardware support" |
pascal@11553 | 8 WEB_SITE="http://www.slitaz.org/" |
pascal@11553 | 9 |
pascal@11553 | 10 DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound xorg-xf86-video-neomagic" |
pascal@11553 | 11 |
pascal@11553 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11553 | 13 genpkg_rules() |
pascal@11553 | 14 { |
pascal@11553 | 15 mkdir -p $fs/etc |
pascal@11553 | 16 } |
pascal@11553 | 17 |
pascal@11553 | 18 # Pre and post install commands for Tazpkg. |
pascal@11553 | 19 post_install() |
pascal@11553 | 20 { |
pascal@11553 | 21 for i in thinkpad_acpi snd_cs46xx yenta_socket ; do |
pascal@11553 | 22 grep -q $i $1/etc/rcS.conf || |
pascal@11553 | 23 sed -i "s/LOAD_MODULES=\"/&$i /" $i $1/etc/rcS.conf |
pascal@11553 | 24 [ -n "$1" ] || modprobe $i |
pascal@11553 | 25 done |
pascal@11553 | 26 # FIXME update /etc/modprobe.d/ ? |
pascal@11553 | 27 # modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0 |
pascal@11553 | 28 # modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0 |
pascal@11553 | 29 |
pascal@11553 | 30 # Video: remove 24bits (use 1024x768x16), neomagic driver |
pascal@11553 | 31 sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' $1/etc/X11/xorg.conf |
pascal@11553 | 32 sed -i '/Display/{NNNN/24$/d}' $1/etc/X11/xorg.conf.d/70-Screen.conf |
pascal@11553 | 33 sed -i 's/vesa/neomagic/' $1/etc/X11/xorg.conf.d/60-Device.conf |
pascal@11553 | 34 cat <<EOT |
pascal@11553 | 35 Please turn off quickboot in the bios to activate sound card... |
pascal@11553 | 36 EOT |
pascal@11553 | 37 } |