wok annotate xorg-server/receipt @ rev 451
Add some Xorg video driver + fix libX11 XKeysymDB
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 18 14:04:44 2008 +0100 (2008-03-18) |
parents | 97df1279a37e |
children | 4f780f823a07 |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pankso@89 | 4 VERSION="1.2.0" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@445 | 8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-input-mouse xorg-xf86-input-keyboard |
pankso@445 | 9 xorg-xf86-video-vesa" |
pankso@261 | 10 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans" |
pankso@89 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 12 WEB_SITE="http://www.x.org/" |
pankso@89 | 13 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@261 | 14 KDRIVE=" |
pankso@261 | 15 Xchips |
pankso@89 | 16 Xvesa |
pankso@89 | 17 Xephyr |
pankso@89 | 18 Xi810 |
pankso@89 | 19 Xnvidia |
pankso@89 | 20 Xepson |
pankso@89 | 21 Xsmi |
pankso@89 | 22 Xr128 |
pankso@89 | 23 Xvia |
pankso@89 | 24 Xpm2 |
pankso@89 | 25 Xati |
pankso@261 | 26 Xfake |
pankso@261 | 27 Xneomagic |
pankso@89 | 28 Xmach64 |
pankso@89 | 29 Xfbdev |
pankso@261 | 30 Xmga |
pankso@261 | 31 Xvfb |
pankso@261 | 32 Xnest" |
pankso@89 | 33 |
pankso@89 | 34 # Rules to configure and make the package. |
pankso@89 | 35 compile_rules() |
pankso@89 | 36 { |
pankso@89 | 37 cd $src |
pankso@89 | 38 ./configure \ |
pankso@89 | 39 --prefix=/usr \ |
pankso@89 | 40 --sysconfdir=/etc \ |
pankso@92 | 41 --mandir=/usr/share/man \ |
pankso@92 | 42 --localstatedir=/var \ |
pankso@92 | 43 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 44 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 45 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 46 --with-fontdir=/usr/share/fonts/X11 \ |
pankso@92 | 47 --enable-install-setuid \ |
pankso@92 | 48 --enable-kdrive \ |
pankso@92 | 49 --enable-kdrive-vesa \ |
pankso@92 | 50 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 51 --with-builder-addr=$MAINTAINER \ |
pankso@92 | 52 --disable-dri \ |
pankso@92 | 53 --disable-xorgcfg \ |
pankso@92 | 54 $CONFIGURE_ARGS |
pankso@89 | 55 make |
pankso@89 | 56 make DESTDIR=$PWD/_pkg install |
pankso@89 | 57 } |
pankso@89 | 58 |
pankso@89 | 59 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 60 genpkg_rules() |
pankso@89 | 61 { |
pankso@261 | 62 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11 |
pankso@89 | 63 |
pankso@89 | 64 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@99 | 65 cp -a $_pkg/usr/lib/xserver $fs/usr/lib |
pankso@89 | 66 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 67 cp -a $_pkg/var/lib $fs/var |
pankso@92 | 68 |
pankso@89 | 69 # Remove static libs and all krive |
pankso@89 | 70 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 71 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@89 | 72 for i in $KDRIVE |
pankso@89 | 73 do |
pankso@89 | 74 rm $fs/usr/bin/$i |
pankso@89 | 75 done |
pankso@89 | 76 } |
pankso@451 | 77 |
pankso@451 | 78 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 79 post_install() |
pankso@451 | 80 { |
pankso@451 | 81 local root |
pankso@451 | 82 root=$1 |
pankso@451 | 83 chmod 1777 $root/var/tmp |
pankso@451 | 84 } |