summaryrefslogtreecommitdiff
path: root/packages/python/python-pygame_1.6.bb
blob: c07a07c75cd64c31d751784efbf977f97d54291b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Python libSDL Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "LGPL"
RDEPENDS = "python-core python-numeric"
DEPENDS = "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 \
           file://qpe.patch;patch=1 \
           file://Setup"
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit distutils

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