wok-6.x annotate xorg-server-Xvesa/receipt @ rev 3946

claws-mail: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 22 17:28:41 2009 +0200 (2009-08-22)
parents 62085de57ca6
children 413b0174114a
rev   line source
pankso@89 1 # SliTaz package receipt.
pankso@89 2
pankso@89 3 PACKAGE="xorg-server-Xvesa"
pankso@3046 4 VERSION="1.5.3"
pankso@113 5 CATEGORY="x-window"
pankso@112 6 SHORT_DESC="Xorg kdrive server Xvesa (tinyX)."
pankso@89 7 MAINTAINER="pankso@slitaz.org"
pascal@2417 8 DEPENDS="xorg-libXau xorg-libfontenc xorg-libXdmcp xorg-libXfont \
pankso@3015 9 xorg-base-fonts freetype zlib hal dbus"
pankso@3015 10 SUGGESTED="xorg-xrandr"
pankso@3015 11 WANTED="xorg-server-tinyX"
pankso@3015 12 SOURCE="xorg-server"
pankso@89 13 WEB_SITE="http://www.x.org/"
pankso@89 14
pankso@89 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@89 16 genpkg_rules()
pankso@89 17 {
pankso@3015 18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
pankso@3015 19 mkdir -p $fs/usr/bin $fs/etc/X11
pankso@89 20 cp -a $_pkg/usr/bin/Xvesa $fs/usr/bin
pankso@89 21 chmod 4711 $fs/usr/bin/Xvesa
pankso@89 22 }
pankso@3015 23
pankso@3015 24 post_install()
pankso@3015 25 {
pankso@3015 26 # Upgrade from 1.2.0 to 1.5.3
pankso@3015 27 if ! grep -q "\-keybd keyboard" $1/etc/slim.conf; then
pankso@3015 28 echo -n "Updating Slim configuration..."
pankso@3015 29 res=$(grep ^xserver_arguments $1/etc/slim.conf | \
pankso@3015 30 sed 's/xserver_arguments.*-screen *//' | awk '{ print $1 }')
pankso@3015 31 sed -i s/"-screen $res"/"-screen $res -keybd keyboard -mouse mouse,5,\/dev\/input\/mice -nolisten tcp"/ \
pankso@3015 32 $1/etc/slim.conf
pankso@3015 33 status
pankso@3015 34 fi
pankso@3015 35 }