summaryrefslogtreecommitdiffstats
path: root/meta/packages/libsdl/libsdl-sdk_1.2.11.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-21 19:52:49 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-21 19:52:49 +0000
commit3df547e2059b4416a266a0df9d41e47176a6061b (patch)
treec7be1380d67f3a25f1f418aa248af8e44c45112a /meta/packages/libsdl/libsdl-sdk_1.2.11.bb
parent37d5e5d924140a6a1200c09ec52034aae86198d3 (diff)
downloadpoky-3df547e2059b4416a266a0df9d41e47176a6061b.tar.gz
libsdl-sdk: Fix configure.in and use autotools do_configure, not a broken imitation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3846 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libsdl/libsdl-sdk_1.2.11.bb')
-rw-r--r--meta/packages/libsdl/libsdl-sdk_1.2.11.bb14
1 files changed, 2 insertions, 12 deletions
diff --git a/meta/packages/libsdl/libsdl-sdk_1.2.11.bb b/meta/packages/libsdl/libsdl-sdk_1.2.11.bb
index 3dd27325b0..bcf012ef75 100644
--- a/meta/packages/libsdl/libsdl-sdk_1.2.11.bb
+++ b/meta/packages/libsdl/libsdl-sdk_1.2.11.bb
@@ -4,10 +4,11 @@ SECTION = "libs"
4LICENSE = "LGPL" 4LICENSE = "LGPL"
5DEPENDS = "libx11-sdk libxext-sdk libxrandr-sdk libxrender-sdk" 5DEPENDS = "libx11-sdk libxext-sdk libxrandr-sdk libxrender-sdk"
6RDEPENDS = "libx11-sdk libxrandr-sdk libxrender-sdk libxext-sdk" 6RDEPENDS = "libx11-sdk libxrandr-sdk libxrender-sdk libxext-sdk"
7PR = "r2" 7PR = "r3"
8 8
9SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ 9SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
10 file://acinclude.m4 \ 10 file://acinclude.m4 \
11 file://configure_tweak.patch;patch=1 \
11 file://kernel-asm-page.patch;patch=1 " 12 file://kernel-asm-page.patch;patch=1 "
12S = "${WORKDIR}/SDL-${PV}" 13S = "${WORKDIR}/SDL-${PV}"
13 14
@@ -24,17 +25,6 @@ EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-thread
24 25
25PARALLEL_MAKE = "" 26PARALLEL_MAKE = ""
26 27
27do_configure() {
28 rm -f ${S}/acinclude.m4
29 cp ${WORKDIR}/acinclude.m4 ${S}/
30 gnu-configize
31 oe_runconf
32 cd ${S}
33 # prevent libtool from linking libs against libstdc++, libgcc, ...
34 cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
35 mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
36}
37
38do_stage() { 28do_stage() {
39 autotools_stage_all 29 autotools_stage_all
40 install -m 0644 ${S}/build/libSDLmain.a ${STAGING_LIBDIR} 30 install -m 0644 ${S}/build/libSDLmain.a ${STAGING_LIBDIR}