wok-current view qiviewer/receipt @ rev 21921
Add pcem (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 17:33:56 2019 +0200 (2019-10-05) |
parents | 6135577f4d08 |
children | 34e801e0eb52 |
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="https://github.com/samkpo/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 }