wok-current diff xorg-server/receipt @ rev 89
Add : Xorg server (1.2) with Xvesa and Xephyr
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 02 22:26:13 2008 +0100 (2008-01-02) |
parents | |
children | cbb407df4234 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xorg-server/receipt Wed Jan 02 22:26:13 2008 +0100 1.3 @@ -0,0 +1,76 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xorg-server" 1.7 +VERSION="1.2.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Xorg server." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="xorg xorg-server-policy" 1.12 +BUILD_DEPENDS="xorg-dev-proto libxcb-dev xorg-libXfont-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.x.org/" 1.15 +WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" 1.16 +KDRIVE="Xchips 1.17 +Xvesa 1.18 +Xephyr 1.19 +Xi810 1.20 +Xsdl 1.21 +Xnvidia 1.22 +Xepson 1.23 +Xsmi 1.24 +Xr128 1.25 +Xvia 1.26 +Xpm2 1.27 +Xati 1.28 +Xmach64 1.29 +Xfbdev 1.30 +Xmga" 1.31 + 1.32 +# Rules to configure and make the package. 1.33 +compile_rules() 1.34 +{ 1.35 + cd $src 1.36 + ./configure \ 1.37 + --prefix=/usr \ 1.38 + --sysconfdir=/etc \ 1.39 + --mandir=/usr/share/man \ 1.40 + --localstatedir=/var \ 1.41 + --with-module-dir=/usr/lib/X11/modules \ 1.42 + --with-xkb-output=/var/lib/xkb \ 1.43 + --with-serverconfig-path=/etc/X11 \ 1.44 + --with-fontdir=/usr/share/fonts/X11 \ 1.45 + --enable-install-setuid \ 1.46 + --enable-kdrive \ 1.47 + --enable-kdrive-vesa \ 1.48 + --with-os-name="SliTaz GNU/Linux" \ 1.49 + --with-builder-addr=$MAINTAINER \ 1.50 + --disable-dri \ 1.51 + --disable-xf86bigfont \ 1.52 + $CONFIGURE_ARGS 1.53 + make 1.54 + make DESTDIR=$PWD/_pkg install 1.55 +} 1.56 + 1.57 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.58 +genpkg_rules() 1.59 +{ 1.60 + mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11 1.61 + 1.62 + cp -a $_pkg/usr/lib/X11 $fs/usr/lib 1.63 + 1.64 + cp -a $_pkg/usr/bin $fs/usr 1.65 + cp -a $_pkg/var/lib $fs/var 1.66 + cp -a $_pkg/usr/share/X11 $fs/usr/share 1.67 + 1.68 + # Remove static libs and all krive 1.69 + rm $fs/usr/lib/X11/*/*.*a 1.70 + rm $fs/usr/lib/X11/*/*/*.*a 1.71 + for i in $KDRIVE 1.72 + do 1.73 + rm $fs/usr/bin/$i 1.74 + done 1.75 + 1.76 + strip -s $fs/usr/lib/X11/*/* 2>/dev/null 1.77 + strip -s $fs/usr/lib/X11/*/*/* 1.78 + strip -s $fs/usr/bin/* 1.79 +}