wok view xorg-server-light/receipt @ rev 10657
Add libdbusmenu-qt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 06:27:01 2011 +0200 (2011-05-27) |
parents | |
children | 829cd878e43f |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server-light"
4 VERSION="1.9.4"
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 cd $src
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --mandir=/usr/share/man \
29 --localstatedir=/var \
30 --with-module-dir=/usr/lib/X11/modules \
31 --with-xkb-output=/var/lib/xkb \
32 --with-serverconfig-path=/etc/X11 \
33 --enable-install-setuid \
34 --enable-xorg \
35 --enable-config-udev \
36 --disable-config-dbus \
37 --with-fontrootdir=/usr/share/fonts \
38 --with-os-name="SliTaz GNU/Linux" \
39 --with-builder-addr=$MAINTAINER \
40 --disable-screensaver \
41 --disable-glx \
42 --disable-dri \
43 --disable-dri2 \
44 --disable-xinerama \
45 --disable-libdrm \
46 --disable-xvfb \
47 --disable-xnest \
48 --disable-xfbdev &&
49 make && make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
56 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
57 cp -a $_pkg/usr/bin $fs/usr
58 cp -a $_pkg/var/lib $fs/var
59 cp -a $_pkg/etc $fs
60 # Remove static libs and split Xnest
61 rm $fs/usr/lib/X11/*/*.*a
62 rm $fs/usr/lib/X11/*/*/*.*a
63 }
65 # We need /var/tmp rw to let xkbcomp builr XKB definition.
66 post_install()
67 {
68 chmod 1777 $1/var/tmp
69 }