summaryrefslogtreecommitdiffstats
path: root/qwt/Pkgfile
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2012-08-03 12:47:29 +0200
committerpiernov <piernov@piernov.org>2012-08-07 23:54:56 +0200
commit9546a568582c34df95238d6751a9abd93c575cae (patch)
tree6942d852df4d85fe860e6224b733b48581ae2bec /qwt/Pkgfile
parent1bde4f04b2ef8742ca8b873a6554bef43c85af72 (diff)
downloadnutyx-extra-9546a568582c34df95238d6751a9abd93c575cae.tar.gz
nutyx-extra-9546a568582c34df95238d6751a9abd93c575cae.tar.bz2
nutyx-extra-9546a568582c34df95238d6751a9abd93c575cae.tar.xz
nutyx-extra-9546a568582c34df95238d6751a9abd93c575cae.zip
qwt 5.2.2-1
(cherry picked from commit 972fd0d0ab35da465568aa4ed2d8fdbf8f3cd6c5)
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
+}
+