wok-6.x view qiviewer/receipt @ rev 14843
tightvnc-extra: improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jul 18 01:30:41 2013 +0200 (2013-07-18) |
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 }