diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-13 05:42:36 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-13 05:42:36 +0000 |
commit | 06f7d17e81de21a95e35b03453242bc62b05a6aa (patch) | |
tree | bc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe | |
parent | 4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff) |
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe')
-rw-r--r-- | smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe b/smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe index e69de29bb2..eef42cddfa 100644 --- a/smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe +++ b/smpeg/smpeg_0.4.4+0.4.5cvs20040311.oe @@ -0,0 +1,41 @@ +SECTION = "NET" +PRIORITY = "optional" +MAINTAINER = "Michael Lauer <mickey@Vanille.de>" +RDEPENDS = "libc6 libsdl" +DEPENDS = "virtual/libc virtual/libsdl" +PROVIDES = "smpeg" + +SRC_URI=cvs://anonymous:anonymous@cvs.icculus.org/cvs/cvsroot;module=smpeg;date=20040311 \ + file://${FILESDIR}/m4.patch;patch=1 \ + file://${FILESDIR}/compile.patch;patch=1 +S = "${WORKDIR}/smpeg" + +inherit autotools libtool + +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}/.." + +do_configure_prepend () { + touch NEWS AUTHORS ChangeLog + rm -f acinclude.m4 +} + +do_stage() { + oe_soinstall .libs/libsmpeg-0.4.so.0.1.4 ${STAGING_LIBDIR} + ln -sf libsmpeg-0.4.so.0.1.4 ${STAGING_LIBDIR}/libsmpeg.so + + for f in "*.h" + do + install -m 0644 ${f} ${STAGING_INCDIR}/SDL + done + + 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 +} + |