qwt stable port information

Package: qwt
Version: 5.0.0rc1
Revision: 5
Description: Qt Widgets for Technical Applications
License: LGPL
Maintainer: None
Depends: %N-shlibs ( = %v-%r )
BuildDepends: fink (>= 0.24.12), qt3
BuildDependsOnly: true

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

PatchFile: %n.patch
PatchFile-MD5: c04c164a8c56b956a821d2cec156ab63
PatchScript: sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1

GCC: 4.0

CompileScript: <<
qmake %n.pro
make
cd designer; qmake qwtplugin.pro; make
cd examples; qmake examples.pro; make
<<

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

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

cp -R designer/plugins %i/lib/qt3/
<<

DocFiles: COPYING CHANGES README INSTALL TODO

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

Splitoff2: <<
Package: %N-shlibs
Depends: qt3-shlibs
Replaces: %N ( << 5.0.0rc2-1 )
Files: lib/qt3/%N/lib/libqwt.5*.dylib
Shlibs: %p/lib/qt3/%N/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.
<<
DescPackaging: Previously maintained by Murali Vadivelu


qwt stable port .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/qt3/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/qwt
+ 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_SHLIB = -prebind -dynamiclib -single_module -headerpad_max_install_names -install_name @PREFIX@/lib/qt3/qwt/lib/$(TARGET1)
TEMPLATE = lib

VERSION = 5.0.0

qwt _unstable_ port .patch