wok-current view xorg-server/receipt @ rev 6958

opentyrian-classic: Remove . /etc/tazwok.conf
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Oct 26 12:56:43 2010 +0200 (2010-10-26)
parents 4a7d15fc0443
children 538cfce65b66
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.8.2"
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 freetype pixman gcc-lib-base dbus udev hal"
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 dbus-dev mesa-dev udev-dev hal-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-hal \
34 --enable-config-dbus \
35 --with-os-name="SliTaz GNU/Linux" \
36 --with-builder-addr=$MAINTAINER \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/var
46 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/var/lib $fs/var
49 cp -a $_pkg/etc $fs
50 # Remove static libs and split Xnest
51 rm $fs/usr/lib/X11/*/*.*a
52 rm $fs/usr/lib/X11/*/*/*.*a
53 rm $fs/usr/bin/Xnest
54 rm $fs/usr/bin/Xvfb
55 }
57 # We need /var/tmp rw to let xkbcomp builr XKB definition.
58 post_install()
59 {
60 chmod 1777 $1/var/tmp
61 }