wok diff xfree86-Xvesa/receipt @ rev 1735
busybox: update DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 03:15:23 2008 +0100 (2008-11-22) |
parents | |
children | ef0c5b97a33e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xfree86-Xvesa/receipt Sat Nov 22 03:15:23 2008 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xfree86-Xvesa" 1.7 +VERSION="4.6.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Xvesa Tiny Xserver from XFree86." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.xfree86.org/" 1.12 + 1.13 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.14 +genpkg_rules() 1.15 +{ 1.16 + # Download and untar all tiny Xserver. 1.17 + if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then 1.18 + cd $SOURCES_REPOSITORY 1.19 + echo "Downloading Xtinyx servers..." 1.20 + wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz 1.21 + cd $WOK/$PACKAGE 1.22 + fi 1.23 + if [ ! -d "bin" ] ; then 1.24 + echo "Untaring XFree86 precompiled package..." 1.25 + tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C . 1.26 + fi 1.27 + # Do the pkg fs. 1.28 + mkdir -p $fs/usr/bin 1.29 + cp bin/Xvesa $fs/usr/bin 1.30 + strip $fs/usr/bin/Xvesa 1.31 + chmod 4711 $fs/usr/bin/Xvesa 1.32 + # Remove bin dir. 1.33 + rm -rf bin 1.34 +}