</command>
</xsl:template>
+<!--
+ unarchive - post fetch <command> run by <fetch>
+
+ Usage: <unarchive/>
+
+ The command is executed in the $HOME directory on the remote machine,
+ it is used to extract the fetched archive to the build directory.
+-->
+<xsl:template name="unarchive">
+<command>
+mkdir -p $TOPDIR
+chown $USER $TOPDIR
+rm -rf $BUILDDIR
+SOURCE=`echo $SOURCE | sed "s|^[^/]|$HOME/&|"`
+cd $TOPDIR
+case $SOURCE in
+ *.tar.gz)
+ gunzip -c $SOURCE | tar xf -
+ ;;
+ *.tar.bz2)
+ bunzip2 -c $SOURCE | tar xf -
+ ;;
+ *.zip)
+ unzip $SOURCE
+ ;;
+esac
+mv wx* $BUILDDIR
+</command>
+</xsl:template>
+
<!--
configure - make disable-precomp-headers a default configure option for
the testdrive, and post process the Makefiles to use ccache.
if { ccache -V; } >/dev/null 2>&1; then
CCACHE_DIR=$TOPDIR/ccache
export CCACHE_DIR
- ccache -M 90M
+ ccache -M 120M
fi
cd $BUILDDIR
+if [ -f wx-config ]; then
+ `./wx-config --cxx` --version
+fi
<if-del-on-fail>trap 'cd; rm -rf $BUILDDIR' EXIT</if-del-on-fail>
</command>
</xsl:template>