wok-stable view xorg-server/receipt @ rev 89

Add : Xorg server (1.2) with Xvesa and Xephyr
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 02 22:26:13 2008 +0100 (2008-01-02)
parents
children cbb407df4234
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server-policy"
9 BUILD_DEPENDS="xorg-dev-proto libxcb-dev xorg-libXfont-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 KDRIVE="Xchips
14 Xvesa
15 Xephyr
16 Xi810
17 Xsdl
18 Xnvidia
19 Xepson
20 Xsmi
21 Xr128
22 Xvia
23 Xpm2
24 Xati
25 Xmach64
26 Xfbdev
27 Xmga"
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cd $src
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --mandir=/usr/share/man \
37 --localstatedir=/var \
38 --with-module-dir=/usr/lib/X11/modules \
39 --with-xkb-output=/var/lib/xkb \
40 --with-serverconfig-path=/etc/X11 \
41 --with-fontdir=/usr/share/fonts/X11 \
42 --enable-install-setuid \
43 --enable-kdrive \
44 --enable-kdrive-vesa \
45 --with-os-name="SliTaz GNU/Linux" \
46 --with-builder-addr=$MAINTAINER \
47 --disable-dri \
48 --disable-xf86bigfont \
49 $CONFIGURE_ARGS
50 make
51 make DESTDIR=$PWD/_pkg install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11
59 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
61 cp -a $_pkg/usr/bin $fs/usr
62 cp -a $_pkg/var/lib $fs/var
63 cp -a $_pkg/usr/share/X11 $fs/usr/share
65 # Remove static libs and all krive
66 rm $fs/usr/lib/X11/*/*.*a
67 rm $fs/usr/lib/X11/*/*/*.*a
68 for i in $KDRIVE
69 do
70 rm $fs/usr/bin/$i
71 done
73 strip -s $fs/usr/lib/X11/*/* 2>/dev/null
74 strip -s $fs/usr/lib/X11/*/*/*
75 strip -s $fs/usr/bin/*
76 }