wok view qiviewer/receipt @ rev 16517

Up: slitaz-tools (5.8.3) - Fixes
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 25 14:24:38 2014 +0200 (2014-04-25)
parents d70557cd0133
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="qiviewer"
4 VERSION="0.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Light and fast QT based images viewer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/qiviewer/"
11 WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL"
13 DEPENDS="xorg-libX11 libQtCore libQtGui"
14 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 qmake && make && make INSTALL_ROOT=$DESTDIR install &&
21 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 cp -a $install/usr/bin $fs/usr
29 }