wok-6.x view qiviewer/receipt @ rev 16742

Up slitaz-boot-scripts (5.6.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 10 10:35:54 2014 +0200 (2014-06-10)
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 }