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

Update: startup-notification (DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jul 21 16:48:54 2009 +0000 (2009-07-21)
parents a760d2142f2c
children af9b450f8d41
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.5.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-input-mouse xorg-xf86-input-keyboard \
9 xorg-xf86-video-vesa xorg-xkeyboard-config xorg-xkbcomp xorg-libpciaccess \
10 xorg-libXxf86vm openssl mesa"
11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile-dev \
12 xorg-libfontenc-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev openssl-dev \
13 dbus-dev hal-dev mesa-dev xorg-glproto xorg-evieext"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.x.org/"
16 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-module-dir=/usr/lib/X11/modules \
28 --with-xkb-output=/var/lib/xkb \
29 --with-serverconfig-path=/etc/X11 \
30 --with-fontdir=/usr/share/fonts/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 }