wok-current view libqwt6-qt4/receipt @ rev 24361
glibmm, glibmm-dev: fix Private:gobj()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 04 09:24:50 2022 +0000 (2022-02-04) |
parents | 76b72f1ad63c |
children | d765616e1f3d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqwt6-qt4"
4 VERSION="6.0.1"
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 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
15 BUILD_DEPENDS="qmake Qt4-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/qwt/files/qwt/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/qwt/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i \
29 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
30 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
31 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
32 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
33 qwtconfig.pri
34 qmake &&
35 make -j1 &&
36 make INSTALL_ROOT=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/usr/share/qwt $fs/usr/share
45 }