wok view xorg-server/receipt @ rev 6814

merge
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 14:13:51 2010 +0000 (2010-10-19)
parents b3cd1a4ec7e0
children 840e9f04719f
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-xf86-video-vesa xorg-xkeyboard-config \
9 xorg-xkbcomp xorg-libpciaccess xorg-libXxf86vm libcrypto freetype pixman \
10 gcc-lib-base xorg-xf86-input-evdev dbus udev hal"
11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile xorg-libxkbfile-dev \
12 xorg-libfontenc-dev xorg-libpciaccess xorg-libpciaccess-dev xorg-libXxf86vm-dev libgcrypt-dev \
13 libcrypto-dev openssl-dev dbus-dev mesa-dev udev-dev hal-dev glib-dev freetype-dev pixman pixman-dev \
14 pkg-config perl flex bison"
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 }