diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:31:24 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:31:24 +0000 |
commit | 9bd213b23e9095cc0aa94952cc345a110a5cdc40 (patch) | |
tree | 4f862fbb29bc438fe7f45f679934a4ec0b91a436 /packages/smpeg | |
parent | bbd81bb3d973f809636c55c56bdc5b6ec863bfa0 (diff) |
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***
Diffstat (limited to 'packages/smpeg')
-rw-r--r-- | packages/smpeg/smpeg_0.4.4+0.4.5cvs20040311.bb | 10 |
1 files changed, 5 insertions, 5 deletions
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 " |