summaryrefslogtreecommitdiff
path: root/packages/python/python-pygame_1.7.1.bb
blob: a664c0ea0af15e1a6dd09dbffbf852369353706a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Python libSDL Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
RDEPENDS = "python-core python-numeric libsdl-x11"
DEPENDS = "virtual/libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
SRCNAME = "pygame"
PR = "ml1"

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

inherit distutils

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