aports/unmaintained/jhead/makefile-destdir.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02: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