summaryrefslogtreecommitdiff
path: root/packages/python/python-mad_0.5.1.bb
blob: 1ae8053d0a61c251780515d3cca573bf43095165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Python libmad Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "LGPL"
RDEPENDS = "python-core libmad"
DEPENDS = "libmad"
SRCNAME = "pymad"

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
}