wok-6.x view xorg-server/receipt @ rev 13313

freerdp: enable pcsc support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 29 13:14:15 2012 +0200 (2012-08-29)
parents bcfbf12f8a32
children 6b09507225ec
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
27 # Xephyr make possible to use Xorg in a chroot.
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-module-dir=/usr/lib/X11/modules \
34 --with-xkb-output=/var/lib/xkb \
35 --with-serverconfig-path=/etc/X11 \
36 --enable-install-setuid \
37 --enable-xorg \
38 --enable-kdrive \
39 --enable-kdrive-kbd \
40 --enable-kdrive-mouse \
41 --enable-kdrive-evdev \
42 --enable-xfbdev \
43 --enable-xephyr \
44 --enable-config-udev \
45 --disable-config-dbus \
46 --disable-docs \
47 --disable-devel-docs \
48 --with-fontrootdir=/usr/share/fonts/X11 \
49 --with-os-name="SliTaz GNU/Linux" \
50 --with-vendor-web="http://www.slitaz.org/" \
51 --with-builder-addr=$MAINTAINER \
52 $CONFIGURE_ARGS &&
53 make && make DESTDIR=$DESTDIR install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
60 cp -a $install/usr/lib/X11 $fs/usr/lib
61 cp -a $install/usr/bin $fs/usr
62 cp -a $install/var/lib $fs/var
63 cp -a $install/etc $fs
64 # Remove static libs and split Xnest
65 rm $fs/usr/lib/X11/*/*.*a
66 rm $fs/usr/lib/X11/*/*/*.*a
67 rm $fs/usr/bin/Xnest
68 rm $fs/usr/bin/Xvfb
69 }
71 # We need /var/tmp rw to let xkbcomp builr XKB definition.
72 post_install()
73 {
74 chmod 1777 $1/var/tmp
75 }