summaryrefslogtreecommitdiff
path: root/libsdl
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-01-21 17:57:05 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-01-21 17:57:05 +0000
commitaea6939ecdf8da85e59edc54464362bc85048c86 (patch)
tree0307bc6cdcc59f9bef54d86a9414e7e343299984 /libsdl
parent44de50ae57b2bde95c898ac1ea04dd374e4d6518 (diff)
fix smpeg staging
BKrev: 400ebd71320uQ3yjga504_4c6Cy5AQ
Diffstat (limited to 'libsdl')
-rw-r--r--libsdl/smpeg_cvs.oe28
1 files changed, 28 insertions, 0 deletions
diff --git a/libsdl/smpeg_cvs.oe b/libsdl/smpeg_cvs.oe
index e69de29bb2..21eebf22a2 100644
--- a/libsdl/smpeg_cvs.oe
+++ b/libsdl/smpeg_cvs.oe
@@ -0,0 +1,28 @@
+SECTION="NET"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6 libsdl
+DEPENDS=virtual/libc base/libsdl
+
+SRC_URI=cvs://anonymous:anonymous@cvs.icculus.org/cvs/cvsroot;module=smpeg
+S = ${WORKDIR}/smpeg
+
+inherit autotools libtool
+
+EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x --without-gtk"
+
+do_stage() {
+ oe_soinstall libsmpeg-0.4.so.0.1.4 ${STAGING_LIBDIR}
+
+ for f in `find . -name "MPEG*.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
+}
+