head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2009.09.30.03.03.20;	author gvermeul;	state Exp;
branches;
next	1.3;

1.3
date	2008.09.01.22.42.22;	author gvermeul;	state Exp;
branches;
next	1.2;

1.2
date	2008.05.06.06.31.54;	author gvermeul;	state Exp;
branches;
next	1.1;

1.1
date	2007.03.20.11.22.10;	author gvermeul;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Upgrade to latest releases and snapshots.
@
text
@#!/bin/bash

PKG=qwt-5.2.0

pushd ../SOURCES
if [ ! -f $PKG.tar.bz2 ]; then
    wget http://prdownloads.sf.net/qwt/$PKG.tar.bz2
fi
popd

pushd ../BUILD
rm -rf $PKG
tar xfj ../SOURCES/$PKG.tar.bz2
pushd $PKG

# patch the configuration
perl -pi -e 's|release|debug|g' qwtconfig.pri
perl -pi -e 's|INSTALLBASE/lib|\[QT_INSTALL_PREFIX\]/lib|g' qwtconfig.pri
perl -pi -e 's|INSTALLBASE/include|\[QT_INSTALL_PREFIX\]/include/qwt|g' qwtconfig.pri
perl -pi -e 's|INSTALLBASE/doc|\[QT_INSTALL_PREFIX\]/doc/qwt|g' qwtconfig.pri
perl -pi -e 's|INSTALLBASE/doc|\[QT_INSTALL_PREFIX\]/doc/qwt|g' qwtconfig.pri
cat >> qwtconfig.pri <<EOF
CONFIG += QwtSVGItem
EOF

# library
(cd src && qmake && make && make install)
# examples
(cd examples && qmake && make)
# designer
(cd designer && qmake && make && make install)
popd # $PKG
popd # ../BUILD

# Local Variables: ***
# mode: sh ***
# End: ***

@


1.3
log
@Fixed mixing up the releases and subversion snapshots.
@
text
@d3 1
a3 1
PKG=qwt-5.1.1
@


1.2
log
@Upgrade to latest snapshots from Riverbank Computing.
@
text
@d3 1
a3 1
PKG=qwt-5.0.2
@


1.1
log
@Replace build-qwt by build-qwt-qt3 and build-qwt-qt4.
Sync with the latest PyQt4 SVN revision.
@
text
@d3 1
a3 1
PKG=qwt-5.0.1
d7 1
a7 1
    wget $SF/qwt/$PKG.tar.bz2
@

