cornucopia: bump SRCREV
[openembedded.git] / recipes / libsdl / libsdl.inc
blob01da500b5355e3527cb2a38596069e4cc6852149
1 DESCRIPTION = "Simple DirectMedia Layer - X11 Edition"
2 SECTION = "libs"
3 PRIORITY = "optional"
4 DEPENDS = "alsa-lib virtual/libgl virtual/libx11 libxext"
5 DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext"
6 PROVIDES = "virtual/libsdl"
7 LICENSE = "LGPL"
9 INC_PR = "r10"
11 SRC_URI = "\
12   http://www.libsdl.org/release/SDL-${PV}.tar.gz \
13   file://extra-keys.patch \
14   file://pagesize.patch \
15   file://remove_path.patch \
16   file://acinclude.m4"
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 () {
32         cd ${S}
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
39 do_stage() {
40         autotools_stage_all             
41         rm ${STAGING_LIBDIR}/libSDL.la