[oe-commits] Noor Ahsan : libsdl-native: Convert to new style staging, remove do_stage

git version control git at git.openembedded.org
Tue Sep 28 00:04:53 UTC 2010


Module: openembedded.git
Branch: master
Commit: 1c8fbc364a52d64731cbc092c7b97bd54a9098d4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1c8fbc364a52d64731cbc092c7b97bd54a9098d4

Author: Noor Ahsan <noor_ahsan at mentor.com>
Date:   Mon Sep  6 02:19:00 2010 +0000

libsdl-native: Convert to new style staging, remove do_stage

* Remove do_stage ()
* Replace tabs with 8 spaces in do_configure
* Bump INC_PR = "r3"

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/libsdl/libsdl-native.inc |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/recipes/libsdl/libsdl-native.inc b/recipes/libsdl/libsdl-native.inc
index 783797a..faae90c 100644
--- a/recipes/libsdl/libsdl-native.inc
+++ b/recipes/libsdl/libsdl-native.inc
@@ -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}
-}





More information about the Openembedded-commits mailing list