wok-next annotate xorg-server/receipt @ rev 284

Syslinux-extra: fix owner
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 15:39:41 2008 +0000 (2008-02-26)
parents cad96347ddf1
children fd243e54bdc6
rev   line source
pankso@89 1 # SliTaz package receipt.
pankso@89 2
pankso@89 3 PACKAGE="xorg-server"
pankso@89 4 VERSION="1.2.0"
pankso@89 5 CATEGORY="x-window"
pankso@261 6 SHORT_DESC="Xorg core server."
pankso@89 7 MAINTAINER="pankso@slitaz.org"
pankso@99 8 DEPENDS="xorg"
pankso@261 9 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans"
pankso@89 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@89 11 WEB_SITE="http://www.x.org/"
pankso@89 12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
pankso@261 13 KDRIVE="
pankso@261 14 Xchips
pankso@89 15 Xvesa
pankso@89 16 Xephyr
pankso@89 17 Xi810
pankso@89 18 Xnvidia
pankso@89 19 Xepson
pankso@89 20 Xsmi
pankso@89 21 Xr128
pankso@89 22 Xvia
pankso@89 23 Xpm2
pankso@89 24 Xati
pankso@261 25 Xfake
pankso@261 26 Xneomagic
pankso@89 27 Xmach64
pankso@89 28 Xfbdev
pankso@261 29 Xmga
pankso@261 30 Xvfb
pankso@261 31 Xnest"
pankso@89 32
pankso@89 33 # Rules to configure and make the package.
pankso@89 34 compile_rules()
pankso@89 35 {
pankso@89 36 cd $src
pankso@89 37 ./configure \
pankso@89 38 --prefix=/usr \
pankso@89 39 --sysconfdir=/etc \
pankso@92 40 --mandir=/usr/share/man \
pankso@92 41 --localstatedir=/var \
pankso@92 42 --with-module-dir=/usr/lib/X11/modules \
pankso@92 43 --with-xkb-output=/var/lib/xkb \
pankso@92 44 --with-serverconfig-path=/etc/X11 \
pankso@92 45 --with-fontdir=/usr/share/fonts/X11 \
pankso@92 46 --enable-install-setuid \
pankso@92 47 --enable-kdrive \
pankso@92 48 --enable-kdrive-vesa \
pankso@92 49 --with-os-name="SliTaz GNU/Linux" \
pankso@92 50 --with-builder-addr=$MAINTAINER \
pankso@92 51 --disable-dri \
pankso@92 52 --disable-xorgcfg \
pankso@92 53 $CONFIGURE_ARGS
pankso@89 54 make
pankso@89 55 make DESTDIR=$PWD/_pkg install
pankso@89 56 }
pankso@89 57
pankso@89 58 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@89 59 genpkg_rules()
pankso@89 60 {
pankso@261 61 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11
pankso@89 62
pankso@89 63 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
pankso@99 64 cp -a $_pkg/usr/lib/xserver $fs/usr/lib
pankso@89 65 cp -a $_pkg/usr/bin $fs/usr
pankso@89 66 cp -a $_pkg/var/lib $fs/var
pankso@92 67
pankso@89 68 # Remove static libs and all krive
pankso@89 69 rm $fs/usr/lib/X11/*/*.*a
pankso@89 70 rm $fs/usr/lib/X11/*/*/*.*a
pankso@89 71 for i in $KDRIVE
pankso@89 72 do
pankso@89 73 rm $fs/usr/bin/$i
pankso@89 74 done
pankso@89 75 }