#Maintainer: R S Ananda Murthy pkgname=qwtplot3d pkgver=0.2.7 pkgrel=1 zenver=72 arch=i486 source=("http://sourceforge.net/projects/qwtplot3d/files/qwtplot3d/0.2.7/qwtplot3d-0.2.7.tgz" "qwtplot3d-gcc44.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://qwtplot3d.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "QwtPlot3D (A Qt/OpenGL-based C++ Programming Library" "QwtPlot3D is not a program, but a feature-rich Qt/OpenGL-based C++" "programming library, providing essentially a bunch of 3D-widgets" "for programmers. The library is zlib licensed." ) build() { cd $startdir/src/$pkgname patch -p1 < ../qwtplot3d-gcc44.patch || return 1 qmake qwtplot3d.pro make || return 1 # install qwtplot3d: (by hand, because the Makefile do not provide a "install:") mkdir -p $startdir/pkg/usr/{include/qwtplot3d,lib} for n in include/* ; do cp -d $n $startdir/pkg/usr/include/qwtplot3d || return 1 done for n in lib/libqwtplot3d.so* ; do cp -d $n $startdir/pkg/usr/lib || return 1 done }