wok-6.x view xorg-server/receipt @ rev 12303
Up ndiswrapper (1.57)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 17 08:34:19 2012 +0200 (2012-04-17) |
parents | 829cd878e43f |
children | bcfbf12f8a32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.9.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 # Mesa build dep make also Xorg depends on libdrm.
14 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
15 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \
16 xorg-xf86-input-evdev"
17 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
18 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
19 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
20 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 # Xephyr make possible to use Xorg in a chroot: --enable-xephyr
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
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-kdrive \
38 --enable-kdrive-kbd \
39 --enable-kdrive-mouse \
40 --enable-kdrive-evdev \
41 --enable-xfbdev \
42 --enable-config-udev \
43 --disable-config-dbus \
44 --with-fontrootdir=/usr/share/fonts \
45 --with-os-name="SliTaz GNU/Linux" \
46 --with-builder-addr=$MAINTAINER \
47 $CONFIGURE_ARGS &&
48 make && make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
55 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
56 cp -a $_pkg/usr/bin $fs/usr
57 cp -a $_pkg/var/lib $fs/var
58 cp -a $_pkg/etc $fs
59 # Remove static libs and split Xnest
60 rm $fs/usr/lib/X11/*/*.*a
61 rm $fs/usr/lib/X11/*/*/*.*a
62 rm $fs/usr/bin/Xnest
63 rm $fs/usr/bin/Xvfb
64 }
66 # We need /var/tmp rw to let xkbcomp builr XKB definition.
67 post_install()
68 {
69 chmod 1777 $1/var/tmp
70 }