wok view libqwt5-qt4/receipt @ rev 24102
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 10:35:57 2021 +0000 (2021-09-17) |
parents | 76b72f1ad63c |
children | 65d7d867e0c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqwt5-qt4"
4 VERSION="5.2.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications."
7 MAINTAINER="slitaz@objectif-securite.ch"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://qwt.sourceforge.io"
11 SOURCE="qwt"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
16 DEPENDS="gcc-lib-base libQtCore libQtDesigner libQtGui libQtScript libQtXml"
17 BUILD_DEPENDS="$DEPENDS qmake qt4 Qt4-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 qmake &&
23 make -j1 &&
24 make INSTALL_ROOT=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 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* \
34 $fs/usr/lib
35 }