wok-next view qiviewer/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents d70557cd0133
children d5aab818505e
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 }