5a8e1b328e2a0a1655cc19af7931dcc46086665d
[vuplus_openembedded] / python / python-pygame_1.6.oe
1 DESCRIPTION = "Python libSDL Bindings"
2 SECTION = "base"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
5 RDEPENDS = "libc6 python-core python-numeric libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg"
6 DEPENDS = "virtual/libc virtual/libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
7 SRCNAME = "pygame"
8
9 SRC_URI = http://www.pygame.org/ftp/${SRCNAME}-${PV}.tar.gz
10 S = "${WORKDIR}/${SRCNAME}-${PV}"
11
12 inherit distutils
13
14 do_configure_prepend() {
15         SDL="`sdl-config --cflags` `sdl-config --libs`"; echo "SDL=$SDL" >Setup
16         cat ${FILESDIR}/Setup >>Setup
17 }