wok-next view libqwt6-qt4/receipt @ rev 21505

updated audit (2.8.4 -> 2.8.5)
author Hans-G?nter Theisgen
date Fri Jun 19 07:56:59 2020 +0100 (2020-06-19)
parents df20b2110f7e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libqwt6-qt4"
4 VERSION="6.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://qwt.sourceforge.net/"
10 REPOLOGY="qwt"
12 SOURCE="qwt"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$SF_MIRROR/qwt/$TARBALL"
16 BUILD_DEPENDS="qmake Qt4-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 sed \
21 -e 's|$${QWT_INSTALL_PREFIX}/include|/usr/include/qwt/|' \
22 -e 's|$${QWT_INSTALL_PREFIX}/lib|/usr/lib/|' \
23 -e 's|$${QWT_INSTALL_PREFIX}/plugins/designer|/usr/lib/qt/plugins/designer/|' \
24 -e 's|$${QWT_INSTALL_PREFIX}/features|/usr/share/qwt/features/|' \
25 -i qwtconfig.pri
27 qmake &&
28 make -j1 &&
29 make INSTALL_ROOT=$install install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libqwt6-qt4)
35 copy @std
36 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="qt-x11-opensource-src libqwt6-qt4"
41 ;;
42 esac
43 }