wok view xorg-server/receipt @ rev 1386

changed the depends for qjackctl
author Allan Pinto <allan316@gmail.com>
date Tue Sep 16 15:04:53 2008 +0000 (2008-09-16)
parents 10710b8535bc
children 6a6ba65f2ad7
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-libxkbfile xorg-xf86-input-mouse xorg-xf86-input-keyboard
9 xorg-xf86-video-vesa xorg-xkeyboard-config xorg-xkbcomp"
10 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
14 KDRIVE="
15 Xchips
16 Xvesa
17 Xephyr
18 Xi810
19 Xnvidia
20 Xepson
21 Xsmi
22 Xr128
23 Xvia
24 Xpm2
25 Xati
26 Xfake
27 Xneomagic
28 Xmach64
29 Xfbdev
30 Xmga
31 Xvfb
32 Xnest"
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 cd $src
38 ./configure \
39 --prefix=/usr \
40 --sysconfdir=/etc \
41 --mandir=/usr/share/man \
42 --localstatedir=/var \
43 --with-module-dir=/usr/lib/X11/modules \
44 --with-xkb-output=/var/lib/xkb \
45 --with-serverconfig-path=/etc/X11 \
46 --with-fontdir=/usr/share/fonts/X11 \
47 --enable-install-setuid \
48 --enable-kdrive \
49 --enable-kdrive-vesa \
50 --with-os-name="SliTaz GNU/Linux" \
51 --with-builder-addr=$MAINTAINER \
52 --disable-dri \
53 --disable-xorgcfg \
54 $CONFIGURE_ARGS
55 make
56 make DESTDIR=$PWD/_pkg install
57 }
59 # Rules to gen a SliTaz package suitable for Tazpkg.
60 genpkg_rules()
61 {
62 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11
64 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
65 cp -a $_pkg/usr/lib/xserver $fs/usr/lib
66 cp -a $_pkg/usr/bin $fs/usr
67 cp -a $_pkg/var/lib $fs/var
69 # Remove static libs and all krive
70 rm $fs/usr/lib/X11/*/*.*a
71 rm $fs/usr/lib/X11/*/*/*.*a
72 for i in $KDRIVE
73 do
74 rm $fs/usr/bin/$i
75 done
76 }
78 # We need /var/tmp rw to let xkbcomp builr XKB definition.
79 post_install()
80 {
81 local root
82 root=$1
83 chmod 1777 $root/var/tmp
84 # Reinstall libX11 if needed...
85 if [ ! -f $1/usr/share/X11/XKeysymDB ]; then
86 echo "Missing file: /usr/share/X11/XKeysymDB"
87 tazpkg get-install xorg-libX11 --forced --root=$1/
88 fi
89 }
91 # Kdrive Xvesa don't like /var/lib/xkb
92 post_remove()
93 {
94 rm -rf /var/lib/xkb
95 }