wok view qiviewer/receipt @ rev 12526

Clean up xine-ui (Keep it small please!)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 00:40:43 2012 +0200 (2012-04-25)
parents
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://code.google.com/p/qiviewer/"
10 WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL"
12 DEPENDS="xorg-libX11 libQtCore libQtGui"
13 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src
19 qmake && make && make INSTALL_ROOT=$DESTDIR install &&
20 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/applications
27 cp -a $install/usr/bin $fs/usr
28 }