Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20957/main/finkinfo/graphics

Added Files:
        qwtmac.info qwtmac.patch 
Log Message:
New from tracker 1611279 

--- NEW FILE: qwtmac.info ---
Package: qwtmac
Version: 5.0.0rc1
Revision: 1

Description: Qt Widgets for Technical Applications
License: LGPL
Maintainer: Murali K Vadivelu <[EMAIL PROTECTED]>

GCC: 4.0

Depends: %N-shlibs ( = %v-%r )
BuildDepends: qt3mac
BuildDependsOnly: true

Source: mirror:sourceforge:qwt/qwt-%v.zip
Source-MD5: 253cf9d98d5afa01f0293a6a355d9235

PatchScript: sed 's,@PREFIX@,%p,g' < %a/%n.patch | patch -p1

CompileScript: <<
#!/bin/sh -ex

 unset QMAKESPEC
 export QTDIR=%p/lib/qt3mac

export PATH=%p/lib/qt3mac/bin:$PATH
 
 %p/lib/qt3mac/bin/qmake qwt.pro
 make
 cd designer; %p/lib/qt3mac/bin/qmake qwtplugin.pro; make
 cd ../examples; %p/lib/qt3mac/bin/qmake examples.pro; make
<<

InstallScript: <<
mkdir -p %i/lib/qt3mac/qwt
cp -R %b/include %i/lib/qt3mac/qwt/
cp -R %b/lib %i/lib/qt3mac/qwt/
cp -R %b/examples %i/lib/qt3mac/qwt/

mkdir -p %i/share/doc/qwtmac
cp -R %b/doc/html %i/share/doc/qwtmac/

mkdir -p %i/lib/qt3mac/plugins/designer
cp designer/plugins/designer/* %i/lib/qt3mac/plugins/designer/
<<

DocFiles: COPYING CHANGES README INSTALL TODO

SplitOff: <<
 Package: qwtmac-designer-plugin
 Depends: %N-shlibs ( = %v-%r ), qt3mac-apps
 Files: lib/qt3mac/plugins/designer/libqwtplugin.so
 DocFiles: COPYING CHANGES README INSTALL TODO
<<

Splitoff2: <<
 Package: %N-shlibs
 Depends: qt3mac-shlibs
 Replaces: %N ( << 5.0.0rc2-1 )
 Files: lib/qt3mac/qwt/lib/libqwt.5*.dylib
 Shlibs: %p/lib/qt3mac/qwt/lib/libqwt.5.dylib 5.0.0 %n (>= 5.0.0rc1-2)
 Description: Qt Widgets for Technical Applications -- shared library
DocFiles: COPYING CHANGES README INSTALL TODO
<<

DescDetail: <<
Qwt is a graphics extension to the Qt GUI application 
framework from Trolltech AS of Norway. It provides a 
2D plotting widget and more.
<<

                 

--- NEW FILE: qwtmac.patch ---
diff -urN qwt-5.0.0rc1.orig/qwt.pro qwt-5.0.0rc1/qwt.pro
--- qwt-5.0.0rc1.orig/qwt.pro   2006-11-06 20:34:48.000000000 +0000
+++ qwt-5.0.0rc1/qwt.pro        2006-12-04 23:51:38.000000000 +0000
@@ -201,11 +201,13 @@
     src/qwt_wheel.cpp
 
 unix {
-    INSTALLBASE    = /usr/local/qwt
+    INSTALLBASE    = @PREFIX@/lib/qt3mac/qwt
     target.path    = $$INSTALLBASE/lib
     headers.path   = $$INSTALLBASE/include
     headers.files  = $$HEADERS
-    doc.path       = $$INSTALLBASE/doc
-    doc.files      = doc/html doc/man
+    doc.path       = @PREFIX@/share/doc/qwtmac
+    doc.files      = doc/html 
+    man.path       = @PREFIX@/share/man
+    man.files      = doc/man
     INSTALLS       = target headers doc
 }
diff -urN qwt-5.0.0rc1.orig/qwt.pro qwt-5.0.0rc1/qwt.pro
--- qwt-5.0.0rc1.orig/qwt.pro   2006-11-06 20:34:48.000000000 +0000
+++ qwt-5.0.0rc1/qwt.pro        2006-12-06 21:33:30.000000000 +0000
@@ -17,7 +17,8 @@
 # interested in QwtPlot only, you can remove
 # the lists at the end of this file.
 
-TARGET            = qwt
+TARGET            = qwt
+QMAKE_LFLAGS_SONAME    = [EMAIL PROTECTED]@/lib/qt3mac/qwt/lib/
 TEMPLATE          = lib
 
 VERSION      = 5.0.0
                 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to