wok-6.x view xorg-server/receipt @ rev 11995
Up: tazlito (4.3.2) - Bug fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 03 22:23:51 2012 +0100 (2012-03-03) |
parents | c276774df941 |
children | 5a739c1304f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.9.5"
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 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
17 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
18 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
19 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 # Xephyr make possible to use Xorg in a chroot: --enable-xephyr
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --mandir=/usr/share/man \
30 --localstatedir=/var \
31 --with-module-dir=/usr/lib/X11/modules \
32 --with-xkb-output=/var/lib/xkb \
33 --with-serverconfig-path=/etc/X11 \
34 --enable-install-setuid \
35 --enable-xorg \
36 --enable-kdrive \
37 --enable-kdrive-kbd \
38 --enable-kdrive-mouse \
39 --enable-kdrive-evdev \
40 --enable-xfbdev \
41 --enable-config-udev \
42 --disable-config-dbus \
43 --with-fontrootdir=/usr/share/fonts \
44 --with-os-name="SliTaz GNU/Linux" \
45 --with-builder-addr=$MAINTAINER \
46 $CONFIGURE_ARGS &&
47 make && make DESTDIR=$DESTDIR install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
54 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
55 cp -a $_pkg/usr/bin $fs/usr
56 cp -a $_pkg/var/lib $fs/var
57 cp -a $_pkg/etc $fs
58 # Remove static libs and split Xnest
59 rm $fs/usr/lib/X11/*/*.*a
60 rm $fs/usr/lib/X11/*/*/*.*a
61 rm $fs/usr/bin/Xnest
62 rm $fs/usr/bin/Xvfb
63 }
65 # We need /var/tmp rw to let xkbcomp builr XKB definition.
66 post_install()
67 {
68 chmod 1777 $1/var/tmp
69 }