wok-next annotate qiviewer/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | d70557cd0133 |
children | d5aab818505e |
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" |
pankso@12469 | 10 WEB_SITE="http://code.google.com/p/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 } |