wok view xorg-server/receipt @ rev 12522

Up: Xorg server (1.12.1)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 00:25:10 2012 +0200 (2012-04-25)
parents 5a739c1304f8
children c4a1d70d3b9d
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 # Mesa build dep make also Xorg depends on libdrm.
14 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
15 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \
16 xorg-xf86-input-evdev"
17 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
18 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
19 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
20 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \
21 xorg-libXv-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 # Xephyr make possible to use Xorg in a chroot.
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-module-dir=/usr/lib/X11/modules \
34 --with-xkb-output=/var/lib/xkb \
35 --with-serverconfig-path=/etc/X11 \
36 --enable-install-setuid \
37 --enable-xorg \
38 --enable-kdrive \
39 --enable-kdrive-kbd \
40 --enable-kdrive-mouse \
41 --enable-kdrive-evdev \
42 --enable-xfbdev \
43 --enable-xephyr \
44 --enable-config-udev \
45 --disable-config-dbus \
46 --with-fontrootdir=/usr/share/fonts \
47 --with-os-name="SliTaz GNU/Linux" \
48 --with-builder-addr=$MAINTAINER \
49 $CONFIGURE_ARGS &&
50 make && make DESTDIR=$DESTDIR install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
57 cp -a $install/usr/lib/X11 $fs/usr/lib
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/var/lib $fs/var
60 cp -a $install/etc $fs
61 # Remove static libs and split Xnest
62 rm $fs/usr/lib/X11/*/*.*a
63 rm $fs/usr/lib/X11/*/*/*.*a
64 rm $fs/usr/bin/Xnest
65 rm $fs/usr/bin/Xvfb
66 }
68 # We need /var/tmp rw to let xkbcomp builr XKB definition.
69 post_install()
70 {
71 chmod 1777 $1/var/tmp
72 }