wok-next diff qiviewer/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 380ffe05937a
children d457c4e37c1b
line diff
     1.1 --- a/qiviewer/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/qiviewer/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,27 +3,26 @@
     1.4  PACKAGE="qiviewer"
     1.5  VERSION="0.5.0"
     1.6  CATEGORY="x-window"
     1.7 -SHORT_DESC="Light and fast QT based images viewer."
     1.8 -MAINTAINER="pankso@slitaz.org"
     1.9 +SHORT_DESC="Light and fast QT based images viewer"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 +WEB_SITE="http://code.google.com/p/qiviewer/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://code.google.com/p/qiviewer/"
    1.16  WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL"
    1.17  
    1.18 -DEPENDS="xorg-libX11 libQtCore libQtGui"
    1.19  BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 +compile_rules() {
    1.25  	cd $src/src
    1.26 -	qmake && make && make INSTALL_ROOT=$DESTDIR install &&
    1.27 +	qmake &&
    1.28 +	make &&
    1.29 +	make INSTALL_ROOT=$install install &&
    1.30  	sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	mkdir -p $fs/usr/share/applications
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39 +	DEPENDS="xorg-libX11 libQtCore libQtGui"
    1.40  }