wok-stable annotate xorg-server/receipt @ rev 6785

Removed old and unmaintained TinyX servers
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 18 22:49:10 2010 +0200 (2010-10-18)
parents b3cd1a4ec7e0
children 840e9f04719f
rev   line source
pankso@89 1 # SliTaz package receipt.
pankso@89 2
pankso@89 3 PACKAGE="xorg-server"
slaxemulator@6728 4 VERSION="1.8.2"
pankso@89 5 CATEGORY="x-window"
pankso@261 6 SHORT_DESC="Xorg core server."
pankso@89 7 MAINTAINER="pankso@slitaz.org"
gokhlayeh@5965 8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-video-vesa xorg-xkeyboard-config \
gokhlayeh@5965 9 xorg-xkbcomp xorg-libpciaccess xorg-libXxf86vm libcrypto freetype pixman \
slaxemulator@6728 10 gcc-lib-base xorg-xf86-input-evdev dbus udev hal"
slaxemulator@6728 11 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile xorg-libxkbfile-dev \
slaxemulator@6728 12 xorg-libfontenc-dev xorg-libpciaccess xorg-libpciaccess-dev xorg-libXxf86vm-dev libgcrypt-dev \
slaxemulator@6728 13 libcrypto-dev openssl-dev dbus-dev mesa-dev udev-dev hal-dev glib-dev freetype-dev pixman pixman-dev \
slaxemulator@6728 14 pkg-config perl flex bison"
pankso@89 15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@89 16 WEB_SITE="http://www.x.org/"
pankso@89 17 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
pankso@89 18
pankso@89 19 # Rules to configure and make the package.
pankso@89 20 compile_rules()
pankso@89 21 {
pankso@89 22 cd $src
pankso@89 23 ./configure \
pankso@89 24 --prefix=/usr \
pankso@89 25 --sysconfdir=/etc \
pankso@92 26 --mandir=/usr/share/man \
pankso@92 27 --localstatedir=/var \
pankso@92 28 --with-module-dir=/usr/lib/X11/modules \
pankso@92 29 --with-xkb-output=/var/lib/xkb \
pankso@92 30 --with-serverconfig-path=/etc/X11 \
pankso@92 31 --enable-install-setuid \
pankso@3014 32 --enable-xorg \
pankso@5335 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 }