wok view xorg-server/receipt @ rev 92

Modified Xorg server and libs to build without xcb
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 03 23:49:26 2008 +0100 (2008-01-03)
parents 35dd72c1429c
children 45fa60409b6a
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 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 --disable-xorgcfg \
50 $CONFIGURE_ARGS
51 make
52 make DESTDIR=$PWD/_pkg install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11
60 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
62 cp -a $_pkg/usr/bin $fs/usr
63 cp -a $_pkg/var/lib $fs/var
65 # For xorgcfg
66 #cp -a $_pkg/usr/share/X11 $fs/usr/share
68 # Remove static libs and all krive
69 rm $fs/usr/lib/X11/*/*.*a
70 rm $fs/usr/lib/X11/*/*/*.*a
71 for i in $KDRIVE
72 do
73 rm $fs/usr/bin/$i
74 done
76 strip -s $fs/usr/lib/X11/*/* 2>/dev/null
77 strip -s $fs/usr/lib/X11/*/*/*
78 strip -s $fs/usr/bin/*
79 }