wok-current view libqwt5-qt4/receipt @ rev 25076

Up marlin (886)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 08:17:07 2022 +0000 (2022-06-14)
parents fba91717815c
children
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/qwt/files/qwt/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/qwt/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 qmake &&
31 make -j1 &&
32 make INSTALL_ROOT=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/qt $fs/usr/lib
41 cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* \
42 $fs/usr/lib
43 }