Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=aa07de6060f761486efa1ab0826c0eccf6c31457

commit aa07de6060f761486efa1ab0826c0eccf6c31457
Author: Melko <me...@frugalware.org>
Date:   Sun Jul 17 09:26:01 2011 +0200

qwtplot3d-0.2.7-1-i686

* new package

diff --git a/source/xlib-extra/qwtplot3d/FrugalBuild 
b/source/xlib-extra/qwtplot3d/FrugalBuild
new file mode 100644
index 0000000..fdc3f96
--- /dev/null
+++ b/source/xlib-extra/qwtplot3d/FrugalBuild
@@ -0,0 +1,25 @@
+# Compiling Time: 0.02 SBU
+# Maintainer: Melko <me...@frugalware.org>
+
+pkgname=qwtplot3d
+pkgver=0.2.7
+pkgrel=1
+pkgdesc="Qt/OpenGL-based C++ programming library containing 3d-widgets."
+depends=('libqtopengl' 'libuuid')
+groups=('xlib-extra')
+archs=('i686' 'x86_64')
+_F_sourceforge_ext=".tgz"
+Finclude sourceforge
+source=(${source[@]} qwtplot3d-gcc44.patch)
+sha1sums=('4463fafb8420a91825e165da7a296aaabd70abea' \
+          '52fa169b651a98550f8a8391ddf52e0eaeb2c215')
+
+build() {
+       Fcd $pkgname
+       Fpatchall
+       qmake || Fdie
+       make || Fdie
+       Fmkdir usr/include/$pkgname
+       Ffilerel include/* usr/include/$pkgname/
+       Fcprel lib usr/
+}
diff --git a/source/xlib-extra/qwtplot3d/qwtplot3d-gcc44.patch 
b/source/xlib-extra/qwtplot3d/qwtplot3d-gcc44.patch
new file mode 100644
index 0000000..a76fe83
--- /dev/null
+++ b/source/xlib-extra/qwtplot3d/qwtplot3d-gcc44.patch
@@ -0,0 +1,12 @@
+diff -ur qwtplot3d-orig/include/qwt3d_function.h 
qwtplot3d/include/qwt3d_function.h
+--- qwtplot3d-orig/include/qwt3d_function.h    2009-07-25 18:18:58.000000000 
-0400
++++ qwtplot3d/include/qwt3d_function.h 2009-07-25 18:19:19.000000000 -0400
+@@ -2,6 +2,7 @@
+ #define qwt3d_function_h__2004_03_05_13_51_begin_guarded_code
+
+ #include "qwt3d_gridmapping.h"
++#include <cstdio>
+
+ namespace Qwt3D
+ {
+Only in qwtplot3d/tmp: qwt3d_function.o
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to