wok-4.x view xorg-server/receipt @ rev 95

Use xf86bigfont with Xorg server
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 04 14:14:25 2008 +0100 (2008-01-04)
parents cbb407df4234
children cad96347ddf1
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server-policy"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev"
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="Xchips
14 Xvesa
15 Xephyr
16 Xi810
17 Xsdl
18 Xnvidia
19 Xepson
20 Xsmi
21 Xr128
22 Xvia
23 Xpm2
24 Xati
25 Xmach64
26 Xfbdev
27 Xmga"
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cd $src
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --mandir=/usr/share/man \
37 --localstatedir=/var \
38 --with-module-dir=/usr/lib/X11/modules \
39 --with-xkb-output=/var/lib/xkb \
40 --with-serverconfig-path=/etc/X11 \
41 --with-fontdir=/usr/share/fonts/X11 \
42 --enable-install-setuid \
43 --enable-kdrive \
44 --enable-kdrive-vesa \
45 --with-os-name="SliTaz GNU/Linux" \
46 --with-builder-addr=$MAINTAINER \
47 --disable-dri \
48 --disable-xorgcfg \
49 $CONFIGURE_ARGS
50 make
51 make DESTDIR=$PWD/_pkg install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11
59 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
61 cp -a $_pkg/usr/bin $fs/usr
62 cp -a $_pkg/var/lib $fs/var
64 # For xorgcfg
65 #cp -a $_pkg/usr/share/X11 $fs/usr/share
67 # Remove static libs and all krive
68 rm $fs/usr/lib/X11/*/*.*a
69 rm $fs/usr/lib/X11/*/*/*.*a
70 for i in $KDRIVE
71 do
72 rm $fs/usr/bin/$i
73 done
75 strip -s $fs/usr/lib/X11/*/* 2>/dev/null
76 strip -s $fs/usr/lib/X11/*/*/*
77 strip -s $fs/usr/bin/*
78 }