wok view qiv/receipt @ rev 25582
Up tp_smapi64 (0.43)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 27 12:55:43 2023 +0000 (17 months ago) |
parents | 0aac953f4b57 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qiv"
4 VERSION="2.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Quick Image Viewer."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://spiegl.de/qiv/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="gtk+ imlib2 lcms2 libexif"
15 BUILD_DEPENDS="gtk+-dev imlib2-dev lcms2-dev libexif-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/x.y.z/d;/pre/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/MAGIC = -DHAVE_MAGIC/# MAGIC = -DHAVE_MAGIC/' Makefile
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/qiv $fs/usr/bin
36 }