aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jhead/makefile-destdir.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-12-11 04:46:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-16 13:52:01 +0000
commit1e5183ee6e07480e59d1863094d74795a8a8662f (patch)
tree363b82c15a04fad4c0ab1260232513634ff56ab5 /testing/jhead/makefile-destdir.patch
parent42d8f3ac74f86c7d696928aae3ea8ca69c581c09 (diff)
downloadaports-1e5183ee6e07480e59d1863094d74795a8a8662f.tar.bz2
aports-1e5183ee6e07480e59d1863094d74795a8a8662f.tar.xz
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/
Diffstat (limited to 'testing/jhead/makefile-destdir.patch')
-rw-r--r--testing/jhead/makefile-destdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/jhead/makefile-destdir.patch b/testing/jhead/makefile-destdir.patch
new file mode 100644
index 0000000000..d9c5b1a0b9
--- /dev/null
+++ b/testing/jhead/makefile-destdir.patch
@@ -0,0 +1,17 @@
+--- 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