wok annotate xorg-server/receipt @ rev 92
Modified Xorg server and libs to build without xcb
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 03 23:49:26 2008 +0100 (2008-01-03) |
parents | 35dd72c1429c |
children | 45fa60409b6a |
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@89 | 6 SHORT_DESC="Xorg server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@89 | 8 DEPENDS="xorg xorg-server-policy" |
pankso@92 | 9 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev" |
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@89 | 13 KDRIVE="Xchips |
pankso@89 | 14 Xvesa |
pankso@89 | 15 Xephyr |
pankso@89 | 16 Xi810 |
pankso@89 | 17 Xsdl |
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@89 | 25 Xmach64 |
pankso@89 | 26 Xfbdev |
pankso@89 | 27 Xmga" |
pankso@89 | 28 |
pankso@89 | 29 # Rules to configure and make the package. |
pankso@89 | 30 compile_rules() |
pankso@89 | 31 { |
pankso@89 | 32 cd $src |
pankso@89 | 33 ./configure \ |
pankso@89 | 34 --prefix=/usr \ |
pankso@89 | 35 --sysconfdir=/etc \ |
pankso@92 | 36 --mandir=/usr/share/man \ |
pankso@92 | 37 --localstatedir=/var \ |
pankso@92 | 38 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 39 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 40 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 41 --with-fontdir=/usr/share/fonts/X11 \ |
pankso@92 | 42 --enable-install-setuid \ |
pankso@92 | 43 --enable-kdrive \ |
pankso@92 | 44 --enable-kdrive-vesa \ |
pankso@92 | 45 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 46 --with-builder-addr=$MAINTAINER \ |
pankso@92 | 47 --disable-dri \ |
pankso@92 | 48 --disable-xf86bigfont \ |
pankso@92 | 49 --disable-xorgcfg \ |
pankso@92 | 50 $CONFIGURE_ARGS |
pankso@89 | 51 make |
pankso@89 | 52 make DESTDIR=$PWD/_pkg install |
pankso@89 | 53 } |
pankso@89 | 54 |
pankso@89 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 56 genpkg_rules() |
pankso@89 | 57 { |
pankso@89 | 58 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11 |
pankso@89 | 59 |
pankso@89 | 60 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 61 |
pankso@89 | 62 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 63 cp -a $_pkg/var/lib $fs/var |
pankso@92 | 64 |
pankso@92 | 65 # For xorgcfg |
pankso@92 | 66 #cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@89 | 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 |
pankso@89 | 76 strip -s $fs/usr/lib/X11/*/* 2>/dev/null |
pankso@89 | 77 strip -s $fs/usr/lib/X11/*/*/* |
pankso@89 | 78 strip -s $fs/usr/bin/* |
pankso@89 | 79 } |