]> granicus.if.org Git - openjpeg/commitdiff
adjust autotools pkg-config support to match
authorRex Dieter <rdieter@gmail.com>
Thu, 13 Jan 2011 19:36:21 +0000 (19:36 +0000)
committerRex Dieter <rdieter@gmail.com>
Thu, 13 Jan 2011 19:36:21 +0000 (19:36 +0000)
CHANGES
Makefile.am
libopenjpeg1.pc.in [moved from libopenjpeg.pc.in with 83% similarity]

diff --git a/CHANGES b/CHANGES
index 58adf5e110b1db93eecdd40fa608e75db2d2f40d..1bf5efec0cc74849cb5df55deded2865e8270d73 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,7 @@ What's New for OpenJPEG
 
 January 13, 2001
 + [rdieter] add pkg-config support to cmake
+! [rdieter] adjust autotools pkg-config support to match
 
 January 9, 2011 
 - [antonin] removed forgotten debug info in imagetopnm().
index 5805b7fe433d324ddd43d8ee41a338e03cd4655a..26e1df0de9feff4cdd7a966292075b98d0337250 100644 (file)
@@ -9,7 +9,7 @@ clean-local:
 
 distclean-local: clean-local
 
-pkgconf_dir = /usr/lib/pkgconfig
+pkgconf_dir = $(libdir)/pkgconfig
 
 install-data-hook:
        @echo ""
@@ -20,7 +20,7 @@ install-data-hook:
        @echo "Installing: libopenjpeg1.pc $(pkgconf_dir)"
        @echo ""
        @$(INSTALL) -d $(pkgconf_dir)
-       @cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc
+       @cp libopenjpeg1.pc $(pkgconf_dir)/libopenjpeg1.pc
        @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \
        $(LN_S) libopenjpeg1.pc libopenjpeg.pc)
 
similarity index 83%
rename from libopenjpeg.pc.in
rename to libopenjpeg1.pc.in
index e75e2bd41081ffdecf1894aa95cdcc3e980d6a5b..8395921743c63c751ee7f8b37c4c01f7ae46a06c 100644 (file)
@@ -5,7 +5,7 @@ includedir=@includedir@
 
 Name: openjpeg
 Description: JPEG2000 files library
-URL: http://code.google.com/p/openjpeg/
+URL: http://www.openjpeg.org/
 Version: @VERSION@
 Libs: -L${libdir} -lopenjpeg
 Cflags: -I${includedir}