summaryrefslogtreecommitdiff
path: root/packages/jpeg/jpeg-6b
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jpeg/jpeg-6b')
-rw-r--r--packages/jpeg/jpeg-6b/install.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/jpeg/jpeg-6b/install.patch b/packages/jpeg/jpeg-6b/install.patch
new file mode 100644
index 0000000000..742594a11f
--- /dev/null
+++ b/packages/jpeg/jpeg-6b/install.patch
@@ -0,0 +1,28 @@
+--- jpeg-6b/makefile.cfg.orig 2005-12-29 12:51:05.584736333 -0800
++++ jpeg-6b/makefile.cfg 2005-12-29 12:55:05.075806556 -0800
+@@ -192,11 +192,13 @@ wrjpgcom: wrjpgcom.$(O)
+ # Installation rules:
+
+ install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@
++ $(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) cjpeg $(DESTDIR)$(bindir)/$(binprefix)cjpeg
+ $(INSTALL_PROGRAM) djpeg $(DESTDIR)$(bindir)/$(binprefix)djpeg
+ $(INSTALL_PROGRAM) jpegtran $(DESTDIR)$(bindir)/$(binprefix)jpegtran
+ $(INSTALL_PROGRAM) rdjpgcom $(DESTDIR)$(bindir)/$(binprefix)rdjpgcom
+ $(INSTALL_PROGRAM) wrjpgcom $(DESTDIR)$(bindir)/$(binprefix)wrjpgcom
++ $(INSTALL) -d $(DESTDIR)$(mandir)
+ $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(DESTDIR)$(mandir)/$(manprefix)cjpeg.$(manext)
+ $(INSTALL_DATA) $(srcdir)/djpeg.1 $(DESTDIR)$(mandir)/$(manprefix)djpeg.$(manext)
+ $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(DESTDIR)$(mandir)/$(manprefix)jpegtran.$(manext)
+@@ -204,9 +206,11 @@ install: cjpeg djpeg jpegtran rdjpgcom w
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(DESTDIR)$(mandir)/$(manprefix)wrjpgcom.$(manext)
+
+ install-lib: libjpeg.$(A) install-headers
++ $(INSTALL) -d $(DESTDIR)$(libdir)
+ $(INSTALL_LIB) libjpeg.$(A) $(DESTDIR)$(libdir)/$(binprefix)libjpeg.$(A)
+
+ install-headers: jconfig.h
++ $(INSTALL) -d $(DESTDIR)$(includedir)
+ $(INSTALL_DATA) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
+ $(INSTALL_DATA) $(srcdir)/jpeglib.h $(DESTDIR)$(includedir)/jpeglib.h
+ $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(DESTDIR)$(includedir)/jmorecfg.h