wok-next view xorg-server/receipt @ rev 14618
mc: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 09:59:57 2013 +0000 (2013-06-01) |
parents | c4a1d70d3b9d |
children | 1040bd60b471 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.12.1"
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 xorg-glproto \
21 xorg-libXv-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 # Xephyr make possible to use Xorg in a chroot.
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --localstatedir=/var \
34 --with-module-dir=/usr/lib/X11/modules \
35 --with-xkb-output=/var/lib/xkb \
36 --with-serverconfig-path=/etc/X11 \
37 --enable-install-setuid \
38 --enable-xorg \
39 --enable-kdrive \
40 --enable-kdrive-kbd \
41 --enable-kdrive-mouse \
42 --enable-kdrive-evdev \
43 --enable-xfbdev \
44 --enable-xephyr \
45 --enable-config-udev \
46 --disable-config-dbus \
47 --disable-docs \
48 --disable-devel-docs \
49 --with-fontrootdir=/usr/share/fonts/X11 \
50 --with-os-name="SliTaz GNU/Linux" \
51 --with-vendor-web="http://www.slitaz.org/" \
52 --with-builder-addr=$MAINTAINER \
53 $CONFIGURE_ARGS &&
54 make && make DESTDIR=$DESTDIR install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
61 cp -a $install/usr/lib/X11 $fs/usr/lib
62 cp -a $install/usr/bin $fs/usr
63 cp -a $install/var/lib $fs/var
64 cp -a $install/etc $fs
65 # Remove static libs and split Xnest
66 rm $fs/usr/lib/X11/*/*.*a
67 rm $fs/usr/lib/X11/*/*/*.*a
68 rm $fs/usr/bin/Xnest
69 rm $fs/usr/bin/Xvfb
70 }
72 # We need /var/tmp rw to let xkbcomp builr XKB definition.
73 post_install()
74 {
75 chmod 1777 $1/var/tmp
76 }