wok view xfree86-Xvesa/receipt @ rev 703

x11vnc: --root support in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 02 08:25:48 2008 +0000 (2008-05-02)
parents
children ef0c5b97a33e
line source
1 # SliTaz package receipt.
3 PACKAGE="xfree86-Xvesa"
4 VERSION="4.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xvesa Tiny Xserver from XFree86."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.xfree86.org/"
10 # Rules to gen a SliTaz package suitable for Tazpkg.
11 genpkg_rules()
12 {
13 # Download and untar all tiny Xserver.
14 if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then
15 cd $SOURCES_REPOSITORY
16 echo "Downloading Xtinyx servers..."
17 wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz
18 cd $WOK/$PACKAGE
19 fi
20 if [ ! -d "bin" ] ; then
21 echo "Untaring XFree86 precompiled package..."
22 tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C .
23 fi
24 # Do the pkg fs.
25 mkdir -p $fs/usr/bin
26 cp bin/Xvesa $fs/usr/bin
27 strip $fs/usr/bin/Xvesa
28 chmod 4711 $fs/usr/bin/Xvesa
29 # Remove bin dir.
30 rm -rf bin
31 }