wok-next view qiviewer/receipt @ rev 14790
Don't hard-code xterm, use configurable SliTaz terminal instead.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 12:03:41 2013 +0300 (2013-07-08) |
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 }