libsdl-native: Convert to new style staging, remove do_stage
authorNoor Ahsan <noor_ahsan@mentor.com>
Mon, 6 Sep 2010 02:19:00 +0000 (02:19 +0000)
committerKhem Raj <raj.khem@gmail.com>
Tue, 28 Sep 2010 00:03:52 +0000 (17:03 -0700)
* Remove do_stage ()
* Replace tabs with 8 spaces in do_configure
* Bump INC_PR = "r3"

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/libsdl/libsdl-native.inc

index 783797a..faae90c 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple DirectMedia Layer - native Edition"
 HOMEPAGE = "http://www.libsdl.org"
 SECTION = "libs"
 LICENSE = "LGPL"
-INC_PR = "r2"
+INC_PR = "r3"
 
 SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
 "
@@ -23,15 +23,11 @@ EXTRA_OECONF = "--disable-debug --disable-cdrom --enable-threads --enable-timers
                 --disable-video-picogui --disable-video-qtopia --enable-dlopen"
 
 do_configure() {
-       gnu-configize
-       oe_runconf
-       cd ${S}
-       # prevent libtool from linking libs against libstdc++, libgcc, ...
-       cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
-       mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
+        gnu-configize
+        oe_runconf
+        cd ${S}
+        # prevent libtool from linking libs against libstdc++, libgcc, ...
+        cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
+        mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
 }
 
-do_stage() {
-       autotools_stage_all
-       install -m 0644 build/libSDLmain.a ${STAGING_LIBDIR}
-}