summaryrefslogtreecommitdiff
path: root/recipes/libsdl/libsdl-gfx_2.0.11.bb
blob: 265d6944279a512c5c5f15ef4fd85deade430211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Simple DirectMedia Layer graphic primitives library."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "zlib libpng jpeg virtual/libsdl"
LICENSE = "LGPL"

SRC_URI = "http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz"
S = "${WORKDIR}/SDL_gfx-${PV}"

inherit autotools

TARGET_CC_ARCH += "${LDFLAGS}"

EXTRA_OECONF = "--disable-mmx"

do_stage() {
	oe_libinstall -so libSDL_gfx ${STAGING_LIBDIR}
	install -m 0644 *.h ${STAGING_INCDIR}/SDL/
}