+PR = "r1"
DESCRIPTION = "Simple DirectMedia Layer - X11 Edition"
SECTION = "libs"
PRIORITY = "optional"
PROVIDES = "virtual/libsdl"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
- file://extra-keys.patch;patch=1"
+ file://extra-keys.patch;patch=1 \
+ file://acinclude.m4"
S = "${WORKDIR}/SDL-${PV}"
inherit autotools
--disable-video-opengl --enable-input-events --enable-pthreads \
--disable-video-picogui --disable-video-qtopia --enable-dlopen"
+do_configure_prepend() {
+ rm -f ${S}/acinclude.m4
+ cp ${WORKDIR}/acinclude.m4 ${S}/
+}
+
do_stage() {
oe_libinstall -so -C src libSDL ${STAGING_LIBDIR}
ln -sf libSDL.so ${STAGING_LIBDIR}/libSDL-1.2.so