wok view xorg-server/receipt @ rev 18930

mmv, sqlite, unclutter: use EXTRA_SOURCE_FILES to track the sources files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 26 17:55:33 2016 +0100 (2016-02-26)
parents acc5cd1a7d8e
children 03b2309fd335
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
14 # Mesa build dep make also Xorg depends on libdrm.
15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \
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 mesa-dev pkg-config perl \
20 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
21 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \
22 xorg-libXv-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
29 # Xephyr make possible to use Xorg in a chroot.
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 --localstatedir=/var \
35 --with-module-dir=/usr/lib/X11/modules \
36 --with-xkb-output=/var/lib/xkb \
37 --with-serverconfig-path=/etc/X11 \
38 --enable-install-setuid \
39 --enable-xorg \
40 --enable-kdrive \
41 --enable-kdrive-kbd \
42 --enable-kdrive-mouse \
43 --enable-kdrive-evdev \
44 --enable-xfbdev \
45 --enable-xephyr \
46 --enable-config-udev \
47 --disable-config-dbus \
48 --disable-docs \
49 --disable-devel-docs \
50 --with-fontrootdir=/usr/share/fonts/X11 \
51 --with-os-name="SliTaz GNU/Linux" \
52 --with-vendor-web="http://www.slitaz.org/" \
53 --with-builder-addr=$MAINTAINER \
54 $CONFIGURE_ARGS &&
55 make && make DESTDIR=$DESTDIR install
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
62 cp -a $install/usr/lib/X11 $fs/usr/lib
63 cp -a $install/usr/bin $fs/usr
64 cp -a $install/var/lib $fs/var
65 cp -a $install/etc $fs
66 # Remove static libs and split Xnest
67 rm $fs/usr/lib/X11/*/*.*a
68 rm $fs/usr/lib/X11/*/*/*.*a
69 rm $fs/usr/bin/Xnest
70 rm $fs/usr/bin/Xvfb
71 # Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev
72 rm $fs/usr/bin/Xephyr
73 rm $fs/usr/bin/Xfbdev
74 }
76 # We need /var/tmp rw to let xkbcomp builr XKB definition.
77 post_install()
78 {
79 chmod 1777 "$1/var/tmp"
80 }