jhead: update to 3.06.0.1

This commit is contained in:
Lucy Phipps 2022-07-22 22:19:31 +01:00
parent 2205ad383e
commit 7df46dd2d1
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
2 changed files with 12 additions and 12 deletions

View File

@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=http://www.sentex.net/~mwandel/jhead/
TERMUX_PKG_DESCRIPTION="Exif Jpeg header manipulation tool"
TERMUX_PKG_LICENSE="Public Domain"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.04
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://www.sentex.net/~mwandel/jhead/jhead-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
TERMUX_PKG_VERSION=3.06.0.1
TERMUX_PKG_SRCURL=https://github.com/Matthias-Wandel/jhead/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5c5258c3d7a840bf831e22174e4a24cb1de3baf442f7cb73d5ab31b4ae0b0058
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -1,22 +1,22 @@
--- ../makefile.orig 2022-02-04 07:15:35.023914372 +0000
+++ ./makefile 2022-02-04 07:16:53.153727804 +0000
@@ -3,9 +3,9 @@
diff -uNr jhead-3.06.0.1/makefile jhead-3.06.0.1.mod/makefile
--- jhead-3.06.0.1/makefile 2021-04-14 13:02:45.000000000 +0100
+++ jhead-3.06.0.1.mod/makefile 2022-07-22 22:16:22.465375000 +0100
@@ -3,8 +3,8 @@
#--------------------------------
OBJ=.
OBJ=obj
SRC=.
-CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+CPPFLAGS?=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS?=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS?=$(shell dpkg-buildflags --get LDFLAGS)
all: jhead
all: objdir jhead
@@ -22,4 +22,6 @@
@@ -24,5 +24,6 @@
rm -f $(objs) jhead
install:
- mkdir -p ${DESTDIR}/usr/bin/
- cp jhead ${DESTDIR}/usr/bin/
+ install -Dm700 jhead ${DESTDIR}$(PREFIX)/bin/
+ mkdir -p ${DESTDIR}$(PREFIX)/share/man/man1/