From 9bd213b23e9095cc0aa94952cc345a110a5cdc40 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 31 Dec 2006 22:31:24 +0000 Subject: Split STAGING_BINDIR into CROSS and NATIVE versions. This means there is no need to rename -config scripts and multimachine won't break with binconfig.bbclass. ***NOTE: This change will require staging to be rebuilt*** --- packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/smpeg') diff --git a/packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb b/packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb index cf0ffa0406..af849a7778 100644 --- a/packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb +++ b/packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb @@ -12,11 +12,11 @@ S = "${WORKDIR}/smpeg" inherit autotools +export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" + CFLAGS_append = " -I${STAGING_INCDIR}/SDL" EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x \ - --without-gtk --disable-gtk-player \ - --with-sdl-prefix=${STAGING_LIBDIR}/.. \ - --with-sdl-exec-prefix=${STAGING_BINDIR}/.." + --without-gtk --disable-gtk-player" do_configure_prepend () { touch NEWS AUTHORS ChangeLog @@ -35,8 +35,8 @@ do_stage() { cat smpeg-config | sed -e "s,-I/usr/include/SDL,-I${STAGING_INCDIR}/SDL," \ | sed -e "s,-I/usr/include/smpeg, ," \ | sed -e "s,libdirs ,mickey_is_cool ," \ - | sed -e "s,-lSDL ,-lSDL-1.2 , "> ${STAGING_BINDIR}/smpeg-config - chmod a+rx ${STAGING_BINDIR}/smpeg-config + | sed -e "s,-lSDL ,-lSDL-1.2 , "> ${STAGING_BINDIR_CROSS}/smpeg-config + chmod a+rx ${STAGING_BINDIR_CROSS}/smpeg-config } PACKAGES =+ "plaympeg " -- cgit v1.2.3