wok-current annotate xorg-server/receipt @ rev 99
Fix Xvesa deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 16:43:15 2008 +0100 (2008-01-04) |
parents | 45fa60409b6a |
children | 3c6ec57bf210 |
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@99 | 8 DEPENDS="xorg" |
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 Xnvidia |
pankso@89 | 18 Xepson |
pankso@89 | 19 Xsmi |
pankso@89 | 20 Xr128 |
pankso@89 | 21 Xvia |
pankso@89 | 22 Xpm2 |
pankso@89 | 23 Xati |
pankso@89 | 24 Xmach64 |
pankso@89 | 25 Xfbdev |
pankso@89 | 26 Xmga" |
pankso@89 | 27 |
pankso@89 | 28 # Rules to configure and make the package. |
pankso@89 | 29 compile_rules() |
pankso@89 | 30 { |
pankso@89 | 31 cd $src |
pankso@89 | 32 ./configure \ |
pankso@89 | 33 --prefix=/usr \ |
pankso@89 | 34 --sysconfdir=/etc \ |
pankso@92 | 35 --mandir=/usr/share/man \ |
pankso@92 | 36 --localstatedir=/var \ |
pankso@92 | 37 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 38 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 39 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 40 --with-fontdir=/usr/share/fonts/X11 \ |
pankso@92 | 41 --enable-install-setuid \ |
pankso@92 | 42 --enable-kdrive \ |
pankso@92 | 43 --enable-kdrive-vesa \ |
pankso@92 | 44 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 45 --with-builder-addr=$MAINTAINER \ |
pankso@92 | 46 --disable-dri \ |
pankso@92 | 47 --disable-xorgcfg \ |
pankso@92 | 48 $CONFIGURE_ARGS |
pankso@89 | 49 make |
pankso@89 | 50 make DESTDIR=$PWD/_pkg install |
pankso@89 | 51 } |
pankso@89 | 52 |
pankso@89 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 54 genpkg_rules() |
pankso@89 | 55 { |
pankso@89 | 56 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11 |
pankso@89 | 57 |
pankso@89 | 58 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@99 | 59 cp -a $_pkg/usr/lib/xserver $fs/usr/lib |
pankso@89 | 60 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 61 cp -a $_pkg/var/lib $fs/var |
pankso@92 | 62 |
pankso@92 | 63 # For xorgcfg |
pankso@92 | 64 #cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@89 | 65 |
pankso@89 | 66 # Remove static libs and all krive |
pankso@89 | 67 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 68 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@89 | 69 for i in $KDRIVE |
pankso@89 | 70 do |
pankso@89 | 71 rm $fs/usr/bin/$i |
pankso@89 | 72 done |
pankso@89 | 73 |
pankso@89 | 74 strip -s $fs/usr/lib/X11/*/* 2>/dev/null |
pankso@89 | 75 strip -s $fs/usr/lib/X11/*/*/* |
pankso@89 | 76 strip -s $fs/usr/bin/* |
pankso@89 | 77 } |