From 684ad0360e8a4fd8f42bdec5e1f164f5ac294083 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Sat, 1 Mar 2008 11:39:49 +0000 Subject: Version bump and install image_to_j2k and j2k_to_image tools Thanks to Alexander Grahn wrt bug #211704 (Portage version: 2.1.4.4) --- .../openjpeg/files/openjpeg-1.3-codec-Makefile.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch (limited to 'media-libs/openjpeg/files') diff --git a/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch b/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch new file mode 100644 index 000000000000..f1a3206def40 --- /dev/null +++ b/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch @@ -0,0 +1,20 @@ +--- codec/Makefile 2007-11-27 13:38:52.000000000 +0100 ++++ codec/Makefile.new 2008-02-28 11:18:08.000000000 +0100 +@@ -2,6 +2,9 @@ + + CFLAGS = -O3 -lstdc++ # -g -p -pg + ++PREFIX = /usr ++INSTALL_BINDIR = $(PREFIX)/bin ++ + all: j2k_to_image image_to_j2k + + j2k_to_image: j2k_to_image.c ../libopenjpeg.a +@@ -12,3 +15,7 @@ + + clean: + rm -f j2k_to_image image_to_j2k ++ ++install: all ++ install -d '$(DESTDIR)$(INSTALL_BINDIR)' ++ install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)' -- cgit v1.2.3-65-gdbad