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