wok-6.x view qiv/receipt @ rev 24572
updated freetds and freetds-dev (1.1.24 -> 1.3.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:32:20 2022 +0100 (2022-02-27) |
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 }