wok annotate qiviewer/receipt @ rev 24850
updated libwww-perl (6.43 -> 6.61)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:37:30 2022 +0100 (2022-03-26) |
parents | 20661c276bcf |
children | 0f92b8cc8086 |
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 |
pascal@24497 | 16 # What is the latest version available today? |
pascal@24497 | 17 current_version() |
pascal@24497 | 18 { |
pascal@24497 | 19 wget -O - https://raw.githubusercontent.com/samkpo/qiviewer/master/ChangeLog 2>/dev/null | \ |
pascal@24497 | 20 sed '/Version/!d;s|.*ersion ||;q' |
pascal@24497 | 21 } |
pascal@24497 | 22 |
pankso@12469 | 23 # Rules to configure and make the package. |
pankso@12469 | 24 compile_rules() |
pankso@12469 | 25 { |
pankso@12469 | 26 cd $src/src |
pankso@12469 | 27 qmake && make && make INSTALL_ROOT=$DESTDIR install && |
pankso@12469 | 28 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/* |
pankso@12469 | 29 } |
pankso@12469 | 30 |
pankso@12469 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12469 | 32 genpkg_rules() |
pankso@12469 | 33 { |
pankso@12469 | 34 mkdir -p $fs/usr/share/applications |
pankso@12469 | 35 cp -a $install/usr/bin $fs/usr |
pankso@12469 | 36 } |