wok-6.x diff libqwt6-qt4/receipt @ rev 24698

Up usbids (2022.02.23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 17:29:51 2022 +0000 (2022-03-13)
parents 76b72f1ad63c
children d765616e1f3d
line diff
     1.1 --- a/libqwt6-qt4/receipt	Sat Aug 10 11:00:21 2013 +0000
     1.2 +++ b/libqwt6-qt4/receipt	Sun Mar 13 17:29:51 2022 +0000
     1.3 @@ -14,10 +14,17 @@
     1.4  DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
     1.5  BUILD_DEPENDS="qmake Qt4-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/qwt/files/qwt/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/qwt/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -	cd $src
    1.19  	sed -i \
    1.20  		-e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
    1.21  		-e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \