Gentoo Archives: gentoo-commits

From: "Timothy Redaelli (drizzt)" <drizzt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/openjpeg/files: openjpeg-1.3-codec-Makefile.patch
Date: Sat, 01 Mar 2008 11:39:52
Message-Id: E1JVQ4E-0007tz-0k@stork.gentoo.org
1 drizzt 08/03/01 11:39:50
2
3 Added: openjpeg-1.3-codec-Makefile.patch
4 Log:
5 Version bump and install image_to_j2k and j2k_to_image tools
6 Thanks to Alexander Grahn wrt bug #211704
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/openjpeg/files/openjpeg-1.3-codec-Makefile.patch?rev=1.1&content-type=text/plain
14
15 Index: openjpeg-1.3-codec-Makefile.patch
16 ===================================================================
17 --- codec/Makefile 2007-11-27 13:38:52.000000000 +0100
18 +++ codec/Makefile.new 2008-02-28 11:18:08.000000000 +0100
19 @@ -2,6 +2,9 @@
20
21 CFLAGS = -O3 -lstdc++ # -g -p -pg
22
23 +PREFIX = /usr
24 +INSTALL_BINDIR = $(PREFIX)/bin
25 +
26 all: j2k_to_image image_to_j2k
27
28 j2k_to_image: j2k_to_image.c ../libopenjpeg.a
29 @@ -12,3 +15,7 @@
30
31 clean:
32 rm -f j2k_to_image image_to_j2k
33 +
34 +install: all
35 + install -d '$(DESTDIR)$(INSTALL_BINDIR)'
36 + install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)'
37
38
39
40 --
41 gentoo-commits@l.g.o mailing list