wok annotate hardware-thinkpad-600e/receipt @ rev 21595

audacity: try gcc63
author Hans-G?nter Theisgen
date Tue May 21 14:35:57 2019 +0100 (2019-05-21)
parents 7bb096863642
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
pascal@11553 11 DEPENDS="linux-acpi linux-mwave tp_smapi linux-sound xorg-xf86-video-neomagic"
pascal@11553 12
pascal@11553 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11553 14 genpkg_rules()
pascal@11553 15 {
pascal@11553 16 mkdir -p $fs/etc
pascal@11553 17 }
pascal@11553 18
pascal@11553 19 # Pre and post install commands for Tazpkg.
pascal@11553 20 post_install()
pascal@11553 21 {
pascal@11553 22 for i in thinkpad_acpi snd_cs46xx yenta_socket ; do
pascal@18730 23 grep -q $i "$1/etc/rcS.conf" ||
pascal@18730 24 sed -i "s/LOAD_MODULES=\"/&$i /" $i "$1/etc/rcS.conf"
pascal@11553 25 [ -n "$1" ] || modprobe $i
pascal@11553 26 done
pascal@11553 27 # FIXME update /etc/modprobe.d/ ?
pascal@11553 28 # modprobe snd-cs4236 index=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 isapnp=0
pascal@11553 29 # modprobe snd-cs4232 port=0x530 cport=0x120 irq=5 dma1=1 dma2=0 isapnp=0
pascal@11553 30
pascal@11553 31 # Video: remove 24bits (use 1024x768x16), neomagic driver
pascal@18730 32 sed -i 's/vesa/neomagic/;/Display/{NNN/24$/d}' "$1/etc/X11/xorg.conf"
pascal@18730 33 sed -i '/Display/{NNNN/24$/d}' "$1/etc/X11/xorg.conf.d/70-Screen.conf"
pascal@18730 34 sed -i 's/vesa/neomagic/' "$1/etc/X11/xorg.conf.d/60-Device.conf"
pascal@11553 35 cat <<EOT
pascal@11553 36 Please turn off quickboot in the bios to activate sound card...
pascal@11553 37 EOT
pascal@11553 38 }