From 9546a568582c34df95238d6751a9abd93c575cae Mon Sep 17 00:00:00 2001 From: orchidman Date: Fri, 3 Aug 2012 12:47:29 +0200 Subject: qwt 5.2.2-1 (cherry picked from commit 972fd0d0ab35da465568aa4ed2d8fdbf8f3cd6c5) --- qwt/Pkgfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 qwt/Pkgfile (limited to 'qwt/Pkgfile') 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 +} + -- cgit v1.2.3-70-g09d2