wok view xorg-server/receipt @ rev 8203

imported patch toolchain/ncurses.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents c514cc4854d8
children beb131988158
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 xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto \
13 xorg-randrproto xorg-renderproto xorg-videoproto xorg-compositeproto \
14 xorg-recordproto xorg-scrnsaverproto xorg-resourceproto xorg-xineramaproto"
15 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
16 TARBALL="$PACKAGE-$VERSION.tar.bz2"
17 WEB_SITE="http://www.x.org/"
18 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-module-dir=/usr/lib/X11/modules \
30 --with-xkb-output=/var/lib/xkb \
31 --with-serverconfig-path=/etc/X11 \
32 --enable-install-setuid \
33 --enable-xorg \
34 --enable-config-udev \
35 --disable-config-dbus \
36 --with-fontrootdir=/usr/share/fonts \
37 --with-os-name="SliTaz GNU/Linux" \
38 --with-builder-addr=$MAINTAINER \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$PWD/_pkg install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
48 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
49 cp -a $_pkg/usr/bin $fs/usr
50 cp -a $_pkg/var/lib $fs/var
51 cp -a $_pkg/etc $fs
52 # Remove static libs and split Xnest
53 rm $fs/usr/lib/X11/*/*.*a
54 rm $fs/usr/lib/X11/*/*/*.*a
55 rm $fs/usr/bin/Xnest
56 rm $fs/usr/bin/Xvfb
57 }
59 # We need /var/tmp rw to let xkbcomp builr XKB definition.
60 post_install()
61 {
62 chmod 1777 $1/var/tmp
63 }