java-native.bbclass: remove do_stage function, because of NATIVE_INSTALL_WORKS =...
[openembedded.git] / recipes / smpeg / smpeg_0.4.4+0.4.5cvs20040311.bb
blobaf849a7778611246cbbf8eb9a97fbc3458608b48
1 DESCRIPTION = "SMPEG is a general purpose MPEG video/audio \
2 player for Linux based on the mpeg_play and SPLAY MPEG decoders."
3 LICENSE = "LGPL"
4 SECTION = "libs/multimedia"
5 DEPENDS = "virtual/libsdl"
6 PROVIDES = "smpeg"
8 SRC_URI = "cvs://anonymous:anonymous@cvs.icculus.org/cvs/cvsroot;module=smpeg;date=20040311 \
9 file://m4.patch;patch=1 \
10 file://compile.patch;patch=1"
11 S = "${WORKDIR}/smpeg"
13 inherit autotools
15 export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
17 CFLAGS_append = " -I${STAGING_INCDIR}/SDL"
18 EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x \
19 --without-gtk --disable-gtk-player"
21 do_configure_prepend () {
22 touch NEWS AUTHORS ChangeLog
23 rm -f acinclude.m4
26 do_stage() {
27 oe_libinstall -so -C .libs libsmpeg-0.4 ${STAGING_LIBDIR}
28 ln -sf libsmpeg-0.4.so ${STAGING_LIBDIR}/libsmpeg.so
30 for f in "*.h"
32 install -m 0644 ${f} ${STAGING_INCDIR}/SDL
33 done
35 cat smpeg-config | sed -e "s,-I/usr/include/SDL,-I${STAGING_INCDIR}/SDL," \
36 | sed -e "s,-I/usr/include/smpeg, ," \
37 | sed -e "s,libdirs ,mickey_is_cool ," \
38 | sed -e "s,-lSDL ,-lSDL-1.2 , "> ${STAGING_BINDIR_CROSS}/smpeg-config
39 chmod a+rx ${STAGING_BINDIR_CROSS}/smpeg-config
42 PACKAGES =+ "plaympeg "
43 SECTION_plaympeg = "console/multimedia"
44 FILES_${PN} = "${libdir}"
45 FILES_plaympeg = "${bindir}/plaympeg"
46 FILES_${PN}-dev += "${bindir}"