wok view xorg-server/receipt @ rev 8042

Fix: xfce4-settings needs exo to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 20 16:46:44 2011 +0100 (2011-01-20)
parents 4752ffcd8b97
children acc8230bb27a
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.9.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
9 xorg-libXfont xorg-base-fonts libgcrypt pixman udev"
10 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
11 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev \
12 pkg-config perl flex"
13 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.x.org/"
16 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-module-dir=/usr/lib/X11/modules \
28 --with-xkb-output=/var/lib/xkb \
29 --with-serverconfig-path=/etc/X11 \
30 --enable-install-setuid \
31 --enable-xorg \
32 --enable-config-udev \
33 --disable-config-dbus \
34 --with-fontrootdir=/usr/share/fonts \
35 --with-os-name="SliTaz GNU/Linux" \
36 --with-builder-addr=$MAINTAINER \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
46 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/var/lib $fs/var
49 cp -a $_pkg/etc $fs
50 # Remove static libs and split Xnest
51 rm $fs/usr/lib/X11/*/*.*a
52 rm $fs/usr/lib/X11/*/*/*.*a
53 rm $fs/usr/bin/Xnest
54 rm $fs/usr/bin/Xvfb
55 }
57 # We need /var/tmp rw to let xkbcomp builr XKB definition.
58 post_install()
59 {
60 chmod 1777 $1/var/tmp
61 }