summaryrefslogtreecommitdiff
path: root/python/python-ogg_1.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-ogg_1.3.oe')
-rw-r--r--python/python-ogg_1.3.oe24
1 files changed, 24 insertions, 0 deletions
diff --git a/python/python-ogg_1.3.oe b/python/python-ogg_1.3.oe
index e69de29bb2..769e4a2f33 100644
--- a/python/python-ogg_1.3.oe
+++ b/python/python-ogg_1.3.oe
@@ -0,0 +1,24 @@
+DESCRIPTION=Python Ogg Vorbis Bindings
+SECTION=base
+PRIORITY=optional
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6 python-core libogg
+DEPENDS=virtual/libc libogg
+SRCNAME=pyogg
+
+SRC_URI = http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz
+S = ${WORKDIR}/${SRCNAME}-${PV}
+
+inherit distutils
+
+do_configure_prepend() {
+ touch Setup
+ echo "ogg_libs = ogg" >>Setup
+ echo "ogg_lib_dir = ${STAGING_LIBDIR}" >>Setup
+ echo "ogg_include_dir = ${STAGING_INCDIR}" >>Setup
+}
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/pyogg
+ install -m 0644 include/pyogg/pyogg.h ${STAGING_INCDIR}/pyogg/pyogg.h
+}