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