wok-6.x view jhead/receipt @ rev 24822
updated libplist and libplist-dev (2.0.0 -> 2.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 11:26:00 2022 +0100 (2022-03-23) |
parents | ad8b9ff412d2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jhead"
4 VERSION="3.06.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Exif Jpeg header manipulation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://www.sentex.net/~mwandel/jhead/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Matthias-Wandel/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # because dpkg-buildflags is unknown:
28 sed -i 's|CPPFLAGS|#CPPFLAGS|; s|CFLAGS|#CFLAGS|; s|LDFLAGS|#LDFLAGS|' \
29 makefile
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/jhead $fs/usr/bin
39 }