aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libsdl
diff options
context:
space:
mode:
authorNoor Ahsan <noor_ahsan@mentor.com>2010-09-06 02:19:00 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-27 17:03:52 -0700
commit1c8fbc364a52d64731cbc092c7b97bd54a9098d4 (patch)
treea4a594419af2a405ea5afe5be79c4d6d91a65cc6 /recipes/libsdl
parent37bf830772ff666b51cb38687323c353ac0e75ee (diff)
downloadopenembedded-1c8fbc364a52d64731cbc092c7b97bd54a9098d4.tar.gz
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@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/libsdl')
-rw-r--r--recipes/libsdl/libsdl-native.inc18
1 files changed, 7 insertions, 11 deletions
diff --git a/recipes/libsdl/libsdl-native.inc b/recipes/libsdl/libsdl-native.inc
index 783797a6eb..faae90c729 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}
-}