wok view qiviewer/receipt @ rev 25340

quota: add -lpthread
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 24 16:14:12 2022 +0000 (2022-07-24)
parents 34e801e0eb52
children
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="xorg-libX11 libQtCore libQtGui"
14 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://raw.githubusercontent.com/samkpo/qiviewer/master/ChangeLog 2>/dev/null | \
20 sed '/Version/!d;s|.*ersion ||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src/src
27 qmake && make && make INSTALL_ROOT=$DESTDIR install &&
28 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
35 cp -a $install/usr/bin $fs/usr
36 }