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