wok view qiviewer/receipt @ rev 19039

Webian Shell - again
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Apr 15 09:08:59 2016 -0300 (2016-04-15)
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 }