wok-4.x view xorg-server/receipt @ rev 151
Add : Midnight Commander, sudo.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 26 00:27:46 2008 +0100 (2008-01-26) |
parents | 45fa60409b6a |
children | 3c6ec57bf210 |
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"
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 Xnvidia
18 Xepson
19 Xsmi
20 Xr128
21 Xvia
22 Xpm2
23 Xati
24 Xmach64
25 Xfbdev
26 Xmga"
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --mandir=/usr/share/man \
36 --localstatedir=/var \
37 --with-module-dir=/usr/lib/X11/modules \
38 --with-xkb-output=/var/lib/xkb \
39 --with-serverconfig-path=/etc/X11 \
40 --with-fontdir=/usr/share/fonts/X11 \
41 --enable-install-setuid \
42 --enable-kdrive \
43 --enable-kdrive-vesa \
44 --with-os-name="SliTaz GNU/Linux" \
45 --with-builder-addr=$MAINTAINER \
46 --disable-dri \
47 --disable-xorgcfg \
48 $CONFIGURE_ARGS
49 make
50 make DESTDIR=$PWD/_pkg install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib $fs/var $fs/usr/share $fs/etc/X11
58 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
59 cp -a $_pkg/usr/lib/xserver $fs/usr/lib
60 cp -a $_pkg/usr/bin $fs/usr
61 cp -a $_pkg/var/lib $fs/var
63 # For xorgcfg
64 #cp -a $_pkg/usr/share/X11 $fs/usr/share
66 # Remove static libs and all krive
67 rm $fs/usr/lib/X11/*/*.*a
68 rm $fs/usr/lib/X11/*/*/*.*a
69 for i in $KDRIVE
70 do
71 rm $fs/usr/bin/$i
72 done
74 strip -s $fs/usr/lib/X11/*/* 2>/dev/null
75 strip -s $fs/usr/lib/X11/*/*/*
76 strip -s $fs/usr/bin/*
77 }