summaryrefslogtreecommitdiff
path: root/python/python-pygame_1.6.oe
blob: 5a8e1b328e2a0a1655cc19af7931dcc46086665d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Python libSDL Bindings"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
RDEPENDS = "libc6 python-core python-numeric libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg"
DEPENDS = "virtual/libc virtual/libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
SRCNAME = "pygame"

SRC_URI = http://www.pygame.org/ftp/${SRCNAME}-${PV}.tar.gz
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit distutils

do_configure_prepend() {
	SDL="`sdl-config --cflags` `sdl-config --libs`"; echo "SDL=$SDL" >Setup
        cat ${FILESDIR}/Setup >>Setup
}