wok-next view hardware-thinkpad-600e/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardware-thinkpad-600e"
4 VERSION="1.0"
5 CATEGORY="meta"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="BSD"
8 SHORT_DESC="ThinkPad 600e (PII pcmcia laptop) hardware support"
9 WEB_SITE="http://www.slitaz.org/"
11 genpkg_rules() {
12 mkdir -p $fs/etc
13 DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound \
14 xf86-video-neomagic"
15 }
17 post_install() {
18 for i in thinkpad_acpi snd_cs46xx yenta_socket; do
19 grep -q $i "$1/etc/rcS.conf" ||
20 sed -i "s/LOAD_MODULES=\"/&$i /" $i "$1/etc/rcS.conf"
21 [ -n "$1" ] || modprobe $i
22 done
23 # FIXME update /etc/modprobe.d/ ?
24 # modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0
25 # modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
27 # Video: remove 24bits (use 1024x768x16), neomagic driver
28 sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' "$1/etc/X11/xorg.conf"
29 sed -i '/Display/{NNNN/24$/d}' "$1/etc/X11/xorg.conf.d/70-Screen.conf"
30 sed -i 's/vesa/neomagic/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
31 cat <<EOT
32 Please turn off quickboot in the bios to activate sound card...
33 EOT
34 }