wok view xorg-server/receipt @ rev 356
New theme for Slim...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 07 16:18:27 2008 +0100 (2008-03-07) |
parents | cad96347ddf1 |
children | fd243e54bdc6 |
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"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
13 KDRIVE="
14 Xchips
15 Xvesa
16 Xephyr
17 Xi810
18 Xnvidia
19 Xepson
20 Xsmi
21 Xr128
22 Xvia
23 Xpm2
24 Xati
25 Xfake
26 Xneomagic
27 Xmach64
28 Xfbdev
29 Xmga
30 Xvfb
31 Xnest"
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 cd $src
37 ./configure \
38 --prefix=/usr \
39 --sysconfdir=/etc \
40 --mandir=/usr/share/man \
41 --localstatedir=/var \
42 --with-module-dir=/usr/lib/X11/modules \
43 --with-xkb-output=/var/lib/xkb \
44 --with-serverconfig-path=/etc/X11 \
45 --with-fontdir=/usr/share/fonts/X11 \
46 --enable-install-setuid \
47 --enable-kdrive \
48 --enable-kdrive-vesa \
49 --with-os-name="SliTaz GNU/Linux" \
50 --with-builder-addr=$MAINTAINER \
51 --disable-dri \
52 --disable-xorgcfg \
53 $CONFIGURE_ARGS
54 make
55 make DESTDIR=$PWD/_pkg 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
63 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
64 cp -a $_pkg/usr/lib/xserver $fs/usr/lib
65 cp -a $_pkg/usr/bin $fs/usr
66 cp -a $_pkg/var/lib $fs/var
68 # Remove static libs and all krive
69 rm $fs/usr/lib/X11/*/*.*a
70 rm $fs/usr/lib/X11/*/*/*.*a
71 for i in $KDRIVE
72 do
73 rm $fs/usr/bin/$i
74 done
75 }