summaryrefslogtreecommitdiffstats
path: root/qwt/Pkgfile
blob: 6d3962e18b92381bf29ce9c8a39ef4b831a35f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}