wok view xorg-server-light/receipt @ rev 13921

Up nethogs (0.8.0)
author Paul Issott <paul@slitaz.org>
date Fri Jan 25 20:35:32 2013 +0000 (2013-01-25)
parents b7319995b37e
children 1040bd60b471
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server-light"
4 VERSION="1.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server light version (no dri, gl, and friends)."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="xorg-xf86-video-vesa"
9 SOURCE="xorg-server"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 PROVIDE="xorg-server"
15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev \
17 xorg-xf86-input-evdev"
18 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
19 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev perl flex xorg-dev-proto"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 #CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
25 #CXXFLAGS="$CFLAGS"
26 # Sizes: 792.0K with -Os and 968.0K
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-module-dir=/usr/lib/X11/modules \
33 --with-xkb-output=/var/lib/xkb \
34 --with-serverconfig-path=/etc/X11 \
35 --enable-install-setuid \
36 --enable-xorg \
37 --enable-config-udev \
38 --disable-config-dbus \
39 --with-fontrootdir=/usr/share/fonts \
40 --with-os-name="SliTaz GNU/Linux" \
41 --with-builder-addr=$MAINTAINER \
42 --disable-screensaver \
43 --disable-glx \
44 --disable-dri \
45 --disable-dri2 \
46 --disable-xinerama \
47 --disable-libdrm \
48 --disable-xvfb \
49 --disable-xnest \
50 --disable-xfbdev \
51 $CONFIGURE_ARGS &&
52 make && make install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
59 cp -a $install/usr/lib/X11 $fs/usr/lib
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/var/lib $fs/var
62 cp -a $install/etc $fs
63 # Remove static libs and split Xnest
64 rm $fs/usr/lib/X11/*/*.*a
65 rm $fs/usr/lib/X11/*/*/*.*a
66 }
68 # We need /var/tmp rw to let xkbcomp builr XKB definition.
69 post_install()
70 {
71 chmod 1777 $1/var/tmp
72 }