summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2008-03-01 11:39:49 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2008-03-01 11:39:49 +0000
commit77450061bde66bccde13fe7c8f424066a1fdc405 (patch)
tree7faf5d25cba231e1bcd82d1f8312514c423f61a9 /media-libs/openjpeg/files
parentAdd ~alpha (diff)
downloadhistorical-77450061bde66bccde13fe7c8f424066a1fdc405.tar.gz
historical-77450061bde66bccde13fe7c8f424066a1fdc405.tar.bz2
historical-77450061bde66bccde13fe7c8f424066a1fdc405.zip
Version bump and install image_to_j2k and j2k_to_image tools
Thanks to Alexander Grahn wrt bug #211704 Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-libs/openjpeg/files')
-rw-r--r--media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch20
1 files changed, 20 insertions, 0 deletions
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)'