wok view libexif-gtk/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 65d7d867e0c1
children 5db546345599
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 - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # By default build with gtk2
31 ./configure &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }