wok annotate qiviewer/receipt @ rev 22680
rsync, openssh: update $CONFIG_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 18:26:14 2020 +0100 (2020-01-18) |
parents | 6135577f4d08 |
children | 34e801e0eb52 |
rev | line source |
---|---|
pankso@12469 | 1 # SliTaz package receipt. |
pankso@12469 | 2 |
pankso@12469 | 3 PACKAGE="qiviewer" |
pankso@12469 | 4 VERSION="0.5.0" |
pankso@12469 | 5 CATEGORY="x-window" |
pankso@12469 | 6 SHORT_DESC="Light and fast QT based images viewer." |
pankso@12469 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@12469 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20682 | 10 WEB_SITE="https://github.com/samkpo/qiviewer" |
pankso@12469 | 11 WGET_URL="http://qiviewer.googlecode.com/files/$TARBALL" |
pankso@12469 | 12 |
pankso@12469 | 13 DEPENDS="xorg-libX11 libQtCore libQtGui" |
pankso@12469 | 14 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev" |
pankso@12469 | 15 |
pankso@12469 | 16 # Rules to configure and make the package. |
pankso@12469 | 17 compile_rules() |
pankso@12469 | 18 { |
pankso@12469 | 19 cd $src/src |
pankso@12469 | 20 qmake && make && make INSTALL_ROOT=$DESTDIR install && |
pankso@12469 | 21 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/* |
pankso@12469 | 22 } |
pankso@12469 | 23 |
pankso@12469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12469 | 25 genpkg_rules() |
pankso@12469 | 26 { |
pankso@12469 | 27 mkdir -p $fs/usr/share/applications |
pankso@12469 | 28 cp -a $install/usr/bin $fs/usr |
pankso@12469 | 29 } |