libsdl: Add 1.2.14 (and native). Note: Does not use libsdl.inc as that has hacks...
[openembedded.git] / recipes / libsdl / libsdl-image.inc
1 DESCRIPTION = "Simple DirectMedia Layer image library."
2 SECTION = "libs"
3 PRIORITY = "optional"
4 DEPENDS = "zlib libpng jpeg virtual/libsdl"
5 LICENSE = "LGPL"
6
7 SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz"
8
9 S = "${WORKDIR}/SDL_image-${PV}"
10
11 inherit autotools
12
13 export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
14
15 do_stage() {
16         oe_libinstall -so libSDL_image ${STAGING_LIBDIR}
17         ln -sf libSDL_image.so ${STAGING_LIBDIR}/libSDL_image-1.2.so
18         install -m 0644 SDL_image.h ${STAGING_INCDIR}/SDL/SDL_image.h
19 }
20