wok view libexif/receipt @ rev 25690
mmv: inserted current_version()
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 15 15:20:24 2024 +0100 (7 months ago) |
parents | bbb340edb2d2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libexif"
4 VERSION="0.6.24"
5 CATEGORY="system-tools"
6 SHORT_DESC="Reads and writes EXIF metainformation from and to image files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libexif.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files *.so*
37 }