summaryrefslogtreecommitdiffstats
path: root/qwt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'qwt/Pkgfile')
-rwxr-xr-xqwt/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/qwt/Pkgfile b/qwt/Pkgfile
new file mode 100755
index 000000000..6d3962e18
--- /dev/null
+++ b/qwt/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Widget QT pour applications technique
+# URL: http://qwt.sourceforge.net/
+# Maintainer:
+# Packager: lesibel at free dot fr
+# Depends on: qt
+# Run on: qt
+
+name=qwt
+version=5.2.2
+release=1
+source=( http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2
+ qwtconfig.pri)
+
+build() {
+ cd $name-$version
+ install -Dm644 ../qwtconfig.pri ./qwtconfig.pri
+ qmake qwt.pro
+ make
+ make INSTALL_ROOT=$PKG QTDIR=/usr install
+ mv $PKG/usr/lib/libqwt.so $PKG/usr/lib/libqwt5.so
+ install -d $PKG/usr/share/doc/$name
+ mv $PKG/usr/share/html $PKG/usr/share/doc/$name/
+ mv $PKG/usr/share/man $PKG/usr/share/doc/$name/
+ install -Dm644 ./COPYING \
+ $PKG/usr/share/licenses/$name/license.txt
+}
+