wok-current view qiviewer/receipt @ rev 13947
gpm: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 29 18:27:09 2013 +0100 (2013-01-29) |
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 }