#Maintainer: R S Ananda Murthy pkgname=qwt pkgver=6.0.0 pkgrel=1 zenver=72 arch=i486 source=("http://downloads.sourceforge.net/project/qwt/qwt/6.0.0/qwt-6.0.0.zip" "qwtconfig.pri.custom") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme" "install" "copying" "changes") url=http://qwt.sourceforge.net/index.html slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "The Qwt library contains GUI Components and utility classes which are" "primarily useful for programs with a technical background. Beside a 2D" "plot widget it provides scales, sliders, dials, compasses" "thermometers, wheels and knobs to control or display values, arrays," "or ranges of type double." ) build() { cd $startdir/src/$pkgname-$pkgver # copy our config file to the right place cp -f $startdir/src/qwtconfig.pri.custom \ $startdir/src/${pkgname}-${pkgver}/qwtconfig.pri || return 1 # build qwt: qmake qwt.pro make || return 1 make INSTALL_ROOT=$startdir/pkg QTDIR=/usr install || return 1 # mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver # mv $startdir/pkg/usr/share/html $startdir/pkg/usr/doc/$pkgname-$pkgver }