wok-current annotate qiv/receipt @ rev 24603

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