wok-stable view xorg-server/receipt @ rev 3116
Add: Nitrogen - Background browser and setter
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Mon May 18 22:58:29 2009 +0200 (2009-05-18) |
parents | 5219b9de8e9f |
children | fc5296f44b7a |
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"
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 }