wok-next annotate hardware-thinkpad-600e/receipt @ rev 21531

updated busybox (1.27.2 -> 1.31.1)
author Hans-G?nter Theisgen
date Sat Jun 20 17:14:40 2020 +0100 (2020-06-20)
parents d5aab818505e
children
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@15215 7 LICENSE="BSD"
pascal@11553 8 SHORT_DESC="ThinkPad 600e (PII pcmcia laptop) hardware support"
pascal@11553 9 WEB_SITE="http://www.slitaz.org/"
pascal@11553 10
al@21020 11 genpkg_rules() {
pascal@11553 12 mkdir -p $fs/etc
al@21020 13 DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound \
al@21078 14 xf86-video-neomagic"
pascal@11553 15 }
pascal@11553 16
al@21020 17 post_install() {
al@21020 18 for i in thinkpad_acpi snd_cs46xx yenta_socket; do
pascal@18730 19 grep -q $i "$1/etc/rcS.conf" ||
pascal@18730 20 sed -i "s/LOAD_MODULES=\"/&$i /" $i "$1/etc/rcS.conf"
pascal@11553 21 [ -n "$1" ] || modprobe $i
pascal@11553 22 done
pascal@11553 23 # FIXME update /etc/modprobe.d/ ?
pascal@11553 24 # modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0
pascal@11553 25 # modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
al@21020 26
pascal@11553 27 # Video: remove 24bits (use 1024x768x16), neomagic driver
pascal@18730 28 sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' "$1/etc/X11/xorg.conf"
pascal@18730 29 sed -i '/Display/{NNNN/24$/d}' "$1/etc/X11/xorg.conf.d/70-Screen.conf"
pascal@18730 30 sed -i 's/vesa/neomagic/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
pascal@11553 31 cat <<EOT
pascal@11553 32 Please turn off quickboot in the bios to activate sound card...
pascal@11553 33 EOT
pascal@11553 34 }