summaryrefslogtreecommitdiff
path: root/packages/python/python-pygame_1.8.1.bb
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
committerShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
commit82ca407ddec93623fee1d99f1605ba2417ce9204 (patch)
treec549ccd559bb23443eab006b1d3d2988263d0d27 /packages/python/python-pygame_1.8.1.bb
parent411fb3bd110dc22736434958bd66c2ee573a179d (diff)
parent21c3f941b0a83b20e346ec59fb0705082bc9becc (diff)
merge of '1000bbf185b8d82a04217a427713db28aa841cab'
and '72496963bc56d2931e759395604bb874363cb29a'
Diffstat (limited to 'packages/python/python-pygame_1.8.1.bb')
-rw-r--r--packages/python/python-pygame_1.8.1.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/python/python-pygame_1.8.1.bb b/packages/python/python-pygame_1.8.1.bb
new file mode 100644
index 0000000000..dc3f431964
--- /dev/null
+++ b/packages/python/python-pygame_1.8.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Python libSDL Bindings"
+SECTION = "devel/python"
+HOMEPAGE = "http://www.pygame.org"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "libsdl-x11 libsdl-image libsdl-mixer libsdl-net libsdl-ttf smpeg python-numeric"
+SRCNAME = "pygame"
+PR = "ml0"
+
+SRC_URI = "\
+ ftp://ftp.pygame.org/pub/pygame/${SRCNAME}-${PV}release.tar.gz \
+ file://Setup"
+S = "${WORKDIR}/${SRCNAME}-${PV}release"
+
+inherit distutils
+
+do_configure_prepend() {
+ cat ${WORKDIR}/Setup >Setup
+ SDL="`sdl-config --cflags` `sdl-config --libs`"; echo "SDL=$SDL" >Setup
+}
+
+do_stage() {
+ distutils_stage_all
+}
+
+RDEPENDS = "python-numeric"