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