SDL_image.pc.in
author Sam Lantinga <slouken@libsdl.org>
Fri, 07 Aug 2009 10:07:54 +0000
changeset 196 1d7af2dd0c17
permissions -rw-r--r--
Implemented bug #768

Description From Luca Bigliardi 2009-07-07 03:35:39 (-) [reply]

patch to add pkg-config for SDL_image

Hi,
I'm attaching two patches to add pkg-config support to SDL_image.

pkg-config is used to retrieve information about installed libraries and
it's well integrated with build configurators (for instance
PKG_CHECK_MODULES autoconf macro).

Thank you,

Luca
slouken@196
     1
prefix=@prefix@
slouken@196
     2
exec_prefix=@exec_prefix@
slouken@196
     3
libdir=@libdir@
slouken@196
     4
includedir=@includedir@
slouken@196
     5
slouken@196
     6
Name: SDL_image
slouken@196
     7
Description: image loading library for Simple DirectMedia Layer
slouken@196
     8
Version: @VERSION@
slouken@196
     9
Requires: sdl >= @SDL_VERSION@
slouken@196
    10
Libs: -L${libdir} -lSDL_image
slouken@196
    11
Cflags: -I${includedir}/SDL
slouken@196
    12