wok annotate xorg-server/receipt @ rev 3625

rdesktop: update DEPENDS
author Liu Peng <rocky@slitaz.org>
date Wed Jul 01 04:27:11 2009 +0000 (2009-07-01)
parents a760d2142f2c
children af9b450f8d41
rev   line source
pankso@89 1 # SliTaz package receipt.
pankso@89 2
pankso@89 3 PACKAGE="xorg-server"
pankso@3014 4 VERSION="1.5.2"
pankso@89 5 CATEGORY="x-window"
pankso@261 6 SHORT_DESC="Xorg core server."
pankso@89 7 MAINTAINER="pankso@slitaz.org"
pankso@3014 8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-input-mouse xorg-xf86-input-keyboard \
pankso@3014 9 xorg-xf86-video-vesa xorg-xkeyboard-config xorg-xkbcomp xorg-libpciaccess \
pankso@3014 10 xorg-libXxf86vm openssl mesa"
pankso@3014 11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile-dev \
pankso@3014 12 xorg-libfontenc-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev openssl-dev \
pascal@3122 13 dbus-dev hal-dev mesa-dev xorg-glproto xorg-evieext"
pankso@89 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@89 15 WEB_SITE="http://www.x.org/"
pankso@89 16 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
pankso@89 17
pankso@89 18 # Rules to configure and make the package.
pankso@89 19 compile_rules()
pankso@89 20 {
pankso@89 21 cd $src
pankso@89 22 ./configure \
pankso@89 23 --prefix=/usr \
pankso@89 24 --sysconfdir=/etc \
pankso@92 25 --mandir=/usr/share/man \
pankso@92 26 --localstatedir=/var \
pankso@92 27 --with-module-dir=/usr/lib/X11/modules \
pankso@92 28 --with-xkb-output=/var/lib/xkb \
pankso@92 29 --with-serverconfig-path=/etc/X11 \
pankso@92 30 --with-fontdir=/usr/share/fonts/X11 \
pankso@92 31 --enable-install-setuid \
pankso@3014 32 --enable-xorg \
pankso@3014 33 --enable-config-hal \
pankso@3014 34 --enable-config-dbus \
pankso@92 35 --with-os-name="SliTaz GNU/Linux" \
pankso@92 36 --with-builder-addr=$MAINTAINER \
pascal@1480 37 $CONFIGURE_ARGS &&
pascal@1480 38 make &&
pankso@89 39 make DESTDIR=$PWD/_pkg install
pankso@89 40 }
pankso@89 41
pankso@89 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@89 43 genpkg_rules()
pankso@89 44 {
pankso@3014 45 mkdir -p $fs/usr/lib $fs/var
pankso@89 46 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
pankso@89 47 cp -a $_pkg/usr/bin $fs/usr
pankso@89 48 cp -a $_pkg/var/lib $fs/var
pankso@3014 49 cp -a $_pkg/etc $fs
pankso@3014 50 # Remove static libs and split Xnest
pankso@89 51 rm $fs/usr/lib/X11/*/*.*a
pankso@89 52 rm $fs/usr/lib/X11/*/*/*.*a
pankso@3014 53 rm $fs/usr/bin/Xnest
pankso@3014 54 rm $fs/usr/bin/Xvfb
pankso@89 55 }
pankso@451 56
pankso@451 57 # We need /var/tmp rw to let xkbcomp builr XKB definition.
pankso@451 58 post_install()
pankso@451 59 {
pankso@3014 60 chmod 1777 $1/var/tmp
pankso@451 61 }