summaryrefslogtreecommitdiff
path: root/dev-python/pymad/pymad-0.6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pymad/pymad-0.6.ebuild')
-rw-r--r--dev-python/pymad/pymad-0.6.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/pymad/pymad-0.6.ebuild b/dev-python/pymad/pymad-0.6.ebuild
new file mode 100644
index 00000000000..dd384de716c
--- /dev/null
+++ b/dev-python/pymad/pymad-0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for libmad MP3 decoding in python"
+HOMEPAGE="http://www.spacepants.org/src/pymad/"
+SRC_URI="http://www.spacepants.org/src/pymad/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libmad"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS THANKS"
+
+src_configure() {
+ echo "$(PYTHON -f)" config_unix.py --prefix "${EPREFIX}/usr"
+ "$(PYTHON -f)" config_unix.py --prefix "${EPREFIX}/usr" || die "Configuration failed"
+}