wok-next annotate xfree86-Xvesa/receipt @ rev 4094
Add: libcroco (CSS parsing and manipulation toolkit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 17 16:17:09 2009 +0200 (2009-09-17) |
parents | 11b6c0dd4a0c |
children |
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/" |
pascal@2419 | 9 DEPENDS="zlib" |
pankso@17 | 10 |
pankso@17 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@17 | 12 genpkg_rules() |
pankso@17 | 13 { |
pankso@17 | 14 # Download and untar all tiny Xserver. |
pankso@17 | 15 if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then |
pankso@17 | 16 cd $SOURCES_REPOSITORY |
pankso@17 | 17 echo "Downloading Xtinyx servers..." |
pankso@17 | 18 wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz |
pankso@17 | 19 cd $WOK/$PACKAGE |
pankso@17 | 20 fi |
pankso@17 | 21 if [ ! -d "bin" ] ; then |
pankso@17 | 22 echo "Untaring XFree86 precompiled package..." |
pankso@17 | 23 tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C . |
pankso@17 | 24 fi |
pankso@17 | 25 # Do the pkg fs. |
pankso@17 | 26 mkdir -p $fs/usr/bin |
pankso@17 | 27 cp bin/Xvesa $fs/usr/bin |
pankso@17 | 28 strip $fs/usr/bin/Xvesa |
pankso@17 | 29 chmod 4711 $fs/usr/bin/Xvesa |
pankso@17 | 30 # Remove bin dir. |
pankso@17 | 31 rm -rf bin |
pankso@17 | 32 } |