wok-next annotate xorg-server-light/receipt @ rev 16021
arm: Add a bunch of Xorg pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 00:03:58 2014 +0100 (2014-03-06) |
parents | acc5cd1a7d8e |
children | 307866ad479e |
rev | line source |
---|---|
pankso@10645 | 1 # SliTaz package receipt. |
pankso@10645 | 2 |
pankso@10645 | 3 PACKAGE="xorg-server-light" |
pankso@15751 | 4 VERSION="1.12.4" |
pankso@10645 | 5 CATEGORY="x-window" |
pankso@10645 | 6 SHORT_DESC="Xorg core server light version (no dri, gl, and friends)." |
pankso@10645 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15023 | 8 LICENSE="MIT" |
pankso@10645 | 9 SUGGESTED="xorg-xf86-video-vesa" |
pankso@10645 | 10 SOURCE="xorg-server" |
pankso@10645 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@10645 | 12 WEB_SITE="http://www.x.org/" |
pankso@10645 | 13 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@10645 | 14 PROVIDE="xorg-server" |
pankso@16021 | 15 #HOST_ARCH="i486 arm" |
pankso@10645 | 16 |
pankso@10645 | 17 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ |
pankso@10645 | 18 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev \ |
pankso@10645 | 19 xorg-xf86-input-evdev" |
pankso@10645 | 20 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
pankso@10645 | 21 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev perl flex xorg-dev-proto" |
pankso@10645 | 22 |
pankso@16021 | 23 # Handle arch compilation |
pankso@16021 | 24 case "$ARCH" in |
pankso@16021 | 25 arm) BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev \ |
pankso@16021 | 26 xorg-libXfont-dev libgcrypt-dev pixman-dev" ;; |
pankso@16021 | 27 esac |
pankso@16021 | 28 |
pankso@10645 | 29 # Rules to configure and make the package. |
pankso@10645 | 30 compile_rules() |
pankso@10645 | 31 { |
pankso@10645 | 32 ./configure \ |
pankso@10645 | 33 --prefix=/usr \ |
pankso@10645 | 34 --sysconfdir=/etc \ |
pankso@10645 | 35 --localstatedir=/var \ |
pankso@10645 | 36 --with-module-dir=/usr/lib/X11/modules \ |
pankso@10645 | 37 --with-xkb-output=/var/lib/xkb \ |
pankso@10645 | 38 --with-serverconfig-path=/etc/X11 \ |
pankso@10645 | 39 --enable-install-setuid \ |
pankso@10645 | 40 --enable-xorg \ |
pankso@10645 | 41 --enable-config-udev \ |
pankso@10645 | 42 --disable-config-dbus \ |
pankso@10645 | 43 --with-fontrootdir=/usr/share/fonts \ |
pankso@10645 | 44 --with-os-name="SliTaz GNU/Linux" \ |
pankso@10645 | 45 --with-builder-addr=$MAINTAINER \ |
pankso@10645 | 46 --disable-screensaver \ |
pankso@10645 | 47 --disable-glx \ |
pankso@10645 | 48 --disable-dri \ |
pankso@10645 | 49 --disable-dri2 \ |
pankso@10645 | 50 --disable-xinerama \ |
pankso@10645 | 51 --disable-libdrm \ |
pankso@10645 | 52 --disable-xvfb \ |
pankso@10645 | 53 --disable-xnest \ |
gokhlayeh@11573 | 54 --disable-xfbdev \ |
pankso@16021 | 55 --disable-xv \ |
gokhlayeh@11573 | 56 $CONFIGURE_ARGS && |
pankso@10645 | 57 make && make install |
pankso@10645 | 58 } |
pankso@10645 | 59 |
pankso@10645 | 60 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10645 | 61 genpkg_rules() |
pankso@10645 | 62 { |
pankso@10645 | 63 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@12524 | 64 cp -a $install/usr/lib/X11 $fs/usr/lib |
pankso@12524 | 65 cp -a $install/usr/bin $fs/usr |
pankso@12524 | 66 cp -a $install/var/lib $fs/var |
pankso@12524 | 67 cp -a $install/etc $fs |
pankso@10645 | 68 # Remove static libs and split Xnest |
pankso@10645 | 69 rm $fs/usr/lib/X11/*/*.*a |
pankso@10645 | 70 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@10645 | 71 } |
pankso@10645 | 72 |
pankso@10645 | 73 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@10645 | 74 post_install() |
pankso@10645 | 75 { |
pankso@10645 | 76 chmod 1777 $1/var/tmp |
pankso@10645 | 77 } |