wok-6.x view xorg-server/receipt @ rev 7897

Up: module-init-tools 1.12
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:07:48 2011 +0100 (2011-01-09)
parents 506948dd9a0d
children c514cc4854d8
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 xorg-libxkbfile xorg-xkeyboard-config xorg-libpciaccess \
9 xorg-libXxf86vm libcrypto libgcrypt freetype pixman gcc-lib-base udev"
10 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile xorg-libxkbfile-dev \
11 xorg-libfontenc-dev xorg-libpciaccess xorg-libpciaccess-dev xorg-libXxf86vm-dev libgcrypt-dev \
12 libcrypto-dev openssl-dev mesa-dev udev-dev glib-dev freetype-dev pixman pixman-dev \
13 pkg-config perl flex bison"
14 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.x.org/"
17 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-module-dir=/usr/lib/X11/modules \
29 --with-xkb-output=/var/lib/xkb \
30 --with-serverconfig-path=/etc/X11 \
31 --enable-install-setuid \
32 --enable-xorg \
33 --enable-config-udev \
34 --disable-config-dbus \
35 --with-fontrootdir=/usr/share/fonts \
36 --with-os-name="SliTaz GNU/Linux" \
37 --with-builder-addr=$MAINTAINER \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$PWD/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
47 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $_pkg/var/lib $fs/var
50 cp -a $_pkg/etc $fs
51 # Remove static libs and split Xnest
52 rm $fs/usr/lib/X11/*/*.*a
53 rm $fs/usr/lib/X11/*/*/*.*a
54 rm $fs/usr/bin/Xnest
55 rm $fs/usr/bin/Xvfb
56 }
58 # We need /var/tmp rw to let xkbcomp builr XKB definition.
59 post_install()
60 {
61 chmod 1777 $1/var/tmp
62 }