1 DESCRIPTION = "Simple DirectMedia Layer - X11 Edition"
4 DEPENDS = "alsa-lib mesa virtual/libx11 libxext"
5 DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext"
6 PROVIDES = "virtual/libsdl"
10 http://www.libsdl.org/release/SDL-${PV}.tar.gz \
11 file://extra-keys.patch;patch=1 \
12 file://pagesize.patch;patch=1 \
13 file://remove_path.patch;patch=1 \
15 S = "${WORKDIR}/SDL-${PV}"
17 inherit autotools binconfig pkgconfig
19 EXTRA_OECONF = "<overwrite me>"
21 FILES_${PN} = "${libdir}/lib*.so.*"
22 FILES_${PN}-dev += "${bindir}/*config"
24 do_configure_prepend() {
25 rm -f ${S}/acinclude.m4
26 cp ${WORKDIR}/acinclude.m4 ${S}/
29 do_configure_append () {
32 # prevent libtool from linking libs against libstdc++, libgcc, ...
33 cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
34 mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
39 rm ${STAGING_LIBDIR}/libSDL.la