wok diff qt4-examples/receipt @ rev 22338

remove x11vnc-extra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 18:28:42 2019 +0100 (6 months ago)
parents fcfac5b91be2
children 941f4a0a3594
line diff
     1.1 --- a/qt4-examples/receipt	Wed Apr 10 20:14:49 2019 +0200
     1.2 +++ b/qt4-examples/receipt	Fri Nov 15 18:28:42 2019 +0100
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="psychomaniak@xakep.ru"
     1.5  LICENSE="GPL3 LGPL2.1"
     1.6  WEB_SITE="http://qt-project.org/"
     1.7 +WANTED="qt4"
     1.8  TAGS="qt"
     1.9  
    1.10  DEPENDS="libQtCore libQtGui"
    1.11 @@ -15,19 +16,19 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	mkdir -p $install/usr/bin $install/usr/share/applications
    1.16 +	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/applications
    1.17  
    1.18  	for i in desktop/screenshot dialogs/findfiles widgets/charactermap;
    1.19  	do
    1.20 -                ii=$(basename $i) && cd $WOK/qt4/source/qt4-$VERSION/examples/$i
    1.21 +                ii=$(basename $i) && cd $WANTED/examples/$i
    1.22  		rm -rf Makefile moc* *.o
    1.23  		qmake	$ii.pro
    1.24  		sed 's|-O2|'"$CFLAGS"'|' -i Makefile
    1.25  		make $MAKEFLAGS &&
    1.26  		install $ii $DESTDIR/usr/bin
    1.27  		install $ii.desktop $DESTDIR/usr/share/applications
    1.28 -		find $install -name $ii.desktop \
    1.29 -		-exec echo 'Categories=Utility;'>>$install/usr/share/applications/$ii.desktop \; \
    1.30 +		find $DESTDIR -name $ii.desktop \
    1.31 +		-exec echo 'Categories=Utility;'>>$DESTDIR/usr/share/applications/$ii.desktop \; \
    1.32  		-exec sed 's|/opt/|/|g' -i {} \;
    1.33  	done
    1.34  }