wok-next view xorg-server/receipt @ rev 445

Update xorg deps
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 14:39:17 2008 +0100 (2008-03-16)
parents fd243e54bdc6
children 48683c16693d
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"
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 }