wok-next annotate 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
rev   line source
pankso@12469 1 # SliTaz package receipt.
pankso@12469 2
pankso@12469 3 PACKAGE="qiviewer"
pankso@12469 4 VERSION="0.5.0"
pankso@12469 5 CATEGORY="x-window"
al@21020 6 SHORT_DESC="Light and fast QT based images viewer"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://code.google.com/p/qiviewer/"
al@21020 10
pankso@12469 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12469 12 WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL"
pankso@12469 13
pankso@12469 14 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
pankso@12469 15
al@21020 16 compile_rules() {
pankso@12469 17 cd $src/src
al@21020 18 qmake &&
al@21020 19 make &&
al@21020 20 make INSTALL_ROOT=$install install &&
pankso@12469 21 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
pankso@12469 22 }
pankso@12469 23
al@21020 24 genpkg_rules() {
pankso@12469 25 mkdir -p $fs/usr/share/applications
pankso@12469 26 cp -a $install/usr/bin $fs/usr
al@21020 27 DEPENDS="xorg-libX11 libQtCore libQtGui"
pankso@12469 28 }