wok-6.x view exif/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | 640a2eba2511 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="exif"
4 VERSION="0.6.21"
5 CATEGORY="graphics"
6 SHORT_DESC="Read exif data from images"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libexif.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/libexif/$TARBALL"
14 DEPENDS="libexif popt"
15 BUILD_DEPENDS="libexif libexif-dev popt-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/libexif/files/libexif/ 2>/dev/null | \
21 sed '/scope="row/!d;/release/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libexif/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
43 # localisation
44 mkdir -p $fs/usr/share/locale
45 LOCALES="da de es fr id it zh_CN"
46 for locale in $LOCALES
47 do
48 cp -a -r $install/usr/share/locale/$locale \
49 $fs/usr/share/locale
50 done
51 }