aports/testing/jhead/makefile-destdir.patch
Fabian Affolter 1e5183ee6e Initial APKBUILD for jhead
Package description:
This package provides a tool for displaying and manipulating non-image
portions of EXIF format JPEG image files, as produced by most digital
cameras.

Website: http://www.sentex.net/~mwandel/jhead/
2012-01-16 13:52:01 +00:00

18 lines
348 B
Diff

--- jhead-2.93/makefile
+++ jhead-2.93/makefile.new
@@ -4,6 +4,7 @@
OBJ=.
SRC=.
CFLAGS= -O3 -Wall
+prefix= /usr
all: jhead
@@ -20,4 +21,5 @@
rm -f $(objs) jhead
install:
- cp jhead ${DESTDIR}/usr/local/bin/
+ install -Dp -m 0755 jhead $(DESTDIR)$(prefix)/bin/jhead
+ install -m644 -D jhead.1 $(DESTDIR)$(prefix)/share/man/man1/jhead.1