wok-next view libqwt5-qt4/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 76b72f1ad63c
children df20b2110f7e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libqwt5-qt4"
4 VERSION="5.2.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications"
7 MAINTAINER="slitaz@objectif-securite.ch"
8 LICENSE="LGPL2.1"
9 SOURCE="qwt"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://qwt.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
14 BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev"
15 SPLIT="libqwt5-qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 qmake
21 make -j1 &&
22 make INSTALL_ROOT=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libqwt5-qt4)
30 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/qt $fs/usr/lib
33 cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib
34 ;;
35 libqwt5-qt4-dev)
36 DEPENDS="qt-x11-opensource-src libqwt5-qt4"
37 mkdir -p $fs/usr/include
38 cp -a $install/usr/local/qwt-$VERSION/include/*.h \
39 $fs/usr/include
40 ;;
41 esac
42 }