wok-current view xorg-server-tinyX/receipt @ rev 3530

Add xorg-gccmakedep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 22 10:58:23 2009 +0200 (2009-06-22)
parents fc5296f44b7a
children ae3689fca921
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server-tinyX"
4 VERSION="1.5.3"
5 CATEGORY="meta"
6 SHORT_DESC="Xorg tinyX servers meta package."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libX11 xorg-server-Xvesa"
9 BUILD_DEPENDS="xorg-dev-proto xorg-libXfont-dev xorg-xtrans xorg-libxkbfile-dev \
10 xorg-libfontenc-dev xorg-libxkbfile xorg-evieext"
11 SOURCE="xorg-server"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.x.org/"
14 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
15 KDRIVE="
16 Xchips
17 Xvesa
18 Xephyr
19 Xi810
20 Xnvidia
21 Xepson
22 Xsmi
23 Xr128
24 Xvia
25 Xpm2
26 Xati
27 Xfake
28 Xneomagic
29 Xmach64
30 Xfbdev
31 Xmga
32 Xvfb
33 Xnest"
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 cd $src
39 while read file; do
40 [ -f done.$file ] && continue
41 echo "Apply $file..."
42 patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1
43 touch done.$file
44 done <<EOT
45 hal_parallel.u
46 boottimestamp.u
47 EOT
48 ./configure \
49 --prefix=/usr \
50 --sysconfdir=/etc \
51 --mandir=/usr/share/man \
52 --localstatedir=/var \
53 --with-module-dir=/usr/lib/X11/modules \
54 --with-xkb-output=/var/lib/xkb \
55 --with-serverconfig-path=/etc/X11 \
56 --with-fontdir=/usr/share/fonts/X11 \
57 --enable-install-setuid \
58 --disable-xorg \
59 --enable-kdrive \
60 --enable-kdrive-vesa \
61 --with-os-name="SliTaz GNU/Linux" \
62 --with-builder-addr=$MAINTAINER \
63 --disable-dri \
64 --disable-xorgcfg \
65 $CONFIGURE_ARGS &&
66 make &&
67 make DESTDIR=$PWD/_pkg install
68 }
70 # Rules to gen a SliTaz package suitable for Tazpkg.
71 genpkg_rules()
72 {
73 mkdir -p $fs/usr
74 }