adjust autotools pkg-config support to match

This commit is contained in:
Rex Dieter 2011-01-13 19:36:21 +00:00
parent d2d6e1fd6f
commit 5f1e13e770
3 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,7 @@ What's New for OpenJPEG
January 13, 2001 January 13, 2001
+ [rdieter] add pkg-config support to cmake + [rdieter] add pkg-config support to cmake
! [rdieter] adjust autotools pkg-config support to match
January 9, 2011 January 9, 2011
- [antonin] removed forgotten debug info in imagetopnm(). - [antonin] removed forgotten debug info in imagetopnm().

View File

@ -9,7 +9,7 @@ clean-local:
distclean-local: clean-local distclean-local: clean-local
pkgconf_dir = /usr/lib/pkgconfig pkgconf_dir = $(libdir)/pkgconfig
install-data-hook: install-data-hook:
@echo "" @echo ""
@ -20,7 +20,7 @@ install-data-hook:
@echo "Installing: libopenjpeg1.pc $(pkgconf_dir)" @echo "Installing: libopenjpeg1.pc $(pkgconf_dir)"
@echo "" @echo ""
@$(INSTALL) -d $(pkgconf_dir) @$(INSTALL) -d $(pkgconf_dir)
@cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc @cp libopenjpeg1.pc $(pkgconf_dir)/libopenjpeg1.pc
@(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \ @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \
$(LN_S) libopenjpeg1.pc libopenjpeg.pc) $(LN_S) libopenjpeg1.pc libopenjpeg.pc)

View File

@ -5,7 +5,7 @@ includedir=@includedir@
Name: openjpeg Name: openjpeg
Description: JPEG2000 files library Description: JPEG2000 files library
URL: http://code.google.com/p/openjpeg/ URL: http://www.openjpeg.org/
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lopenjpeg Libs: -L${libdir} -lopenjpeg
Cflags: -I${includedir} Cflags: -I${includedir}