wok view libexif-gtk/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 69d0a23c9258
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libexif-gtk"
4 VERSION="0.5.0"
5 CATEGORY="graphics"
6 SHORT_DESC="A library of widgets to help display EXIF tags in GTK programs."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libexif.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/libexif/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="gtk+ libexif libxml2"
15 BUILD_DEPENDS="file gtk+-dev libexif-dev libxml2-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # By default build with gtk2
30 ./configure &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }