summaryrefslogtreecommitdiff
path: root/packages/python/python-mad_0.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-mad_0.6.bb')
-rw-r--r--packages/python/python-mad_0.6.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/python/python-mad_0.6.bb b/packages/python/python-mad_0.6.bb
new file mode 100644
index 0000000000..e62b8c88d6
--- /dev/null
+++ b/packages/python/python-mad_0.6.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Python libmad Bindings"
+SECTION = "devel/python"
+HOMEPAGE = "http://spacepants.org/src/pymad/"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "libmad"
+SRCNAME = "pymad"
+PR = "ml0"
+
+SRC_URI = "http://spacepants.org/src/pymad/download/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+do_configure_prepend() {
+ touch Setup
+ echo "endian = little" >>Setup # FIXME, not always true
+ echo "mad_libs = mad" >>Setup
+ echo "mad_lib_dir = ${STAGING_LIBDIR}" >>Setup
+ echo "mad_include_dir = ${STAGING_INCDIR}" >>Setup
+}