wok-6.x view xorg-server-light/receipt @ rev 10808

xorg-server*: up to 1.9.5 for bug fixes and --enable-kdrive so you build Xfbdev
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 01:00:43 2011 +0200 (2011-06-05)
parents 6506852423c8
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server-light"
4 VERSION="1.9.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server light version (no dri, gl, and friends)."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="xorg-xf86-video-vesa"
9 SOURCE="xorg-server"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 PROVIDE="xorg-server"
15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev \
17 xorg-xf86-input-evdev"
18 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
19 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev perl flex xorg-dev-proto"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 #CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
25 #CXXFLAGS="$CFLAGS"
26 # Sizes: 792.0K with -Os and 968.0K
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-module-dir=/usr/lib/X11/modules \
33 --with-xkb-output=/var/lib/xkb \
34 --with-serverconfig-path=/etc/X11 \
35 --enable-install-setuid \
36 --enable-xorg \
37 --enable-config-udev \
38 --disable-config-dbus \
39 --with-fontrootdir=/usr/share/fonts \
40 --with-os-name="SliTaz GNU/Linux" \
41 --with-builder-addr=$MAINTAINER \
42 --disable-screensaver \
43 --disable-glx \
44 --disable-dri \
45 --disable-dri2 \
46 --disable-xinerama \
47 --disable-libdrm \
48 --disable-xvfb \
49 --disable-xnest \
50 --disable-xfbdev &&
51 make && make 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/etc/X11/xorg.conf.d
58 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
59 cp -a $_pkg/usr/bin $fs/usr
60 cp -a $_pkg/var/lib $fs/var
61 cp -a $_pkg/etc $fs
62 # Remove static libs and split Xnest
63 rm $fs/usr/lib/X11/*/*.*a
64 rm $fs/usr/lib/X11/*/*/*.*a
65 }
67 # We need /var/tmp rw to let xkbcomp builr XKB definition.
68 post_install()
69 {
70 chmod 1777 $1/var/tmp
71 }