wok-stable view xfree86-Xvesa/receipt @ rev 3215
fix: mscore depends
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 18:04:28 2009 +0000 (2009-05-28) |
parents | 11b6c0dd4a0c |
children |
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/"
9 DEPENDS="zlib"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 # Download and untar all tiny Xserver.
15 if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then
16 cd $SOURCES_REPOSITORY
17 echo "Downloading Xtinyx servers..."
18 wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz
19 cd $WOK/$PACKAGE
20 fi
21 if [ ! -d "bin" ] ; then
22 echo "Untaring XFree86 precompiled package..."
23 tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C .
24 fi
25 # Do the pkg fs.
26 mkdir -p $fs/usr/bin
27 cp bin/Xvesa $fs/usr/bin
28 strip $fs/usr/bin/Xvesa
29 chmod 4711 $fs/usr/bin/Xvesa
30 # Remove bin dir.
31 rm -rf bin
32 }