wok-next rev 10645
Add xorg-server-light (no dep on drm/gl) - pkg is at 720 kb!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 02:06:25 2011 +0200 (2011-05-27) |
parents | e8fb3253af14 |
children | 1ec92e652f66 |
files | xorg-server-light/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xorg-server-light/receipt Fri May 27 02:06:25 2011 +0200 1.3 @@ -0,0 +1,69 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xorg-server-light" 1.7 +VERSION="1.9.4" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Xorg core server light version (no dri, gl, and friends)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +SUGGESTED="xorg-xf86-video-vesa" 1.12 +SOURCE="xorg-server" 1.13 +TARBALL="$SOURCE-$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 +PROVIDE="xorg-server" 1.17 + 1.18 +DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ 1.19 +xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev \ 1.20 +xorg-xf86-input-evdev" 1.21 +BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ 1.22 +xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev perl flex xorg-dev-proto" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + cd $src 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + --sysconfdir=/etc \ 1.31 + --mandir=/usr/share/man \ 1.32 + --localstatedir=/var \ 1.33 + --with-module-dir=/usr/lib/X11/modules \ 1.34 + --with-xkb-output=/var/lib/xkb \ 1.35 + --with-serverconfig-path=/etc/X11 \ 1.36 + --enable-install-setuid \ 1.37 + --enable-xorg \ 1.38 + --enable-config-udev \ 1.39 + --disable-config-dbus \ 1.40 + --with-fontrootdir=/usr/share/fonts \ 1.41 + --with-os-name="SliTaz GNU/Linux" \ 1.42 + --with-builder-addr=$MAINTAINER \ 1.43 + --disable-screensaver \ 1.44 + --disable-glx \ 1.45 + --disable-dri \ 1.46 + --disable-dri2 \ 1.47 + --disable-xinerama \ 1.48 + --disable-libdrm \ 1.49 + --disable-xvfb \ 1.50 + --disable-xnest \ 1.51 + --disable-xfbdev && 1.52 + make && make install 1.53 +} 1.54 + 1.55 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 +genpkg_rules() 1.57 +{ 1.58 + mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d 1.59 + cp -a $_pkg/usr/lib/X11 $fs/usr/lib 1.60 + cp -a $_pkg/usr/bin $fs/usr 1.61 + cp -a $_pkg/var/lib $fs/var 1.62 + cp -a $_pkg/etc $fs 1.63 + # Remove static libs and split Xnest 1.64 + rm $fs/usr/lib/X11/*/*.*a 1.65 + rm $fs/usr/lib/X11/*/*/*.*a 1.66 +} 1.67 + 1.68 +# We need /var/tmp rw to let xkbcomp builr XKB definition. 1.69 +post_install() 1.70 +{ 1.71 + chmod 1777 $1/var/tmp 1.72 +}