wok view hardware-thinkpad-600e/receipt @ rev 12083
icedtea6-jdk: fix compiles_rules to work with tazwok. I know it's a bit messy but I need this.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 18:19:26 2012 +0100 (2012-03-09) |
parents | |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardware-thinkpad-600e"
4 VERSION="1.0"
5 CATEGORY="meta"
6 MAINTAINER="devel@slitaz.org"
7 SHORT_DESC="ThinkPad 600e (PII pcmcia laptop) hardware support"
8 WEB_SITE="http://www.slitaz.org/"
10 DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound xorg-xf86-video-neomagic"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/etc
16 }
18 # Pre and post install commands for Tazpkg.
19 post_install()
20 {
21 for i in thinkpad_acpi snd_cs46xx yenta_socket ; do
22 grep -q $i $1/etc/rcS.conf ||
23 sed -i "s/LOAD_MODULES=\"/&$i /" $i $1/etc/rcS.conf
24 [ -n "$1" ] || modprobe $i
25 done
26 # FIXME update /etc/modprobe.d/ ?
27 # modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0
28 # modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
30 # Video: remove 24bits (use 1024x768x16), neomagic driver
31 sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' $1/etc/X11/xorg.conf
32 sed -i '/Display/{NNNN/24$/d}' $1/etc/X11/xorg.conf.d/70-Screen.conf
33 sed -i 's/vesa/neomagic/' $1/etc/X11/xorg.conf.d/60-Device.conf
34 cat <<EOT
35 Please turn off quickboot in the bios to activate sound card...
36 EOT
37 }