wok view xorg-server-Xvesa/receipt @ rev 3095

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