wok-6.x view xorg-server/receipt @ rev 10711
qemu-x86_64: fix version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 28 16:07:34 2011 +0200 (2011-05-28) |
parents | 44a15c2d0c31 |
children | 829cd878e43f |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.9.4"
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-libXau 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 xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto \
13 xorg-randrproto xorg-dri2proto xorg-kbproto xorg-xextproto xorg-fontsproto \
14 xorg-renderproto xorg-videoproto xorg-compositeproto \
15 xorg-recordproto xorg-libXau-dev xorg-fontcacheproto xorg-printproto \
16 xorg-scrnsaverproto xorg-resourceproto xorg-xineramaproto xorg-xf86dgaproto \
17 xorg-xf86bigfontproto xorg-xf86miscproto xorg-trapproto"
18 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
19 TARBALL="$PACKAGE-$VERSION.tar.bz2"
20 WEB_SITE="http://www.x.org/"
21 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
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 $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$PWD/_pkg install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
51 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
52 cp -a $_pkg/usr/bin $fs/usr
53 cp -a $_pkg/var/lib $fs/var
54 cp -a $_pkg/etc $fs
55 # Remove static libs and split Xnest
56 rm $fs/usr/lib/X11/*/*.*a
57 rm $fs/usr/lib/X11/*/*/*.*a
58 rm $fs/usr/bin/Xnest
59 rm $fs/usr/bin/Xvfb
60 }
62 # We need /var/tmp rw to let xkbcomp builr XKB definition.
63 post_install()
64 {
65 chmod 1777 $1/var/tmp
66 }