diff options
-rw-r--r-- | media-sound/jack/jack-3.0.0-r1.ebuild | 14 | ||||
-rw-r--r-- | media-sound/jack/jack-3.0.0.ebuild | 13 |
2 files changed, 11 insertions, 16 deletions
diff --git a/media-sound/jack/jack-3.0.0-r1.ebuild b/media-sound/jack/jack-3.0.0-r1.ebuild index a5675c019ebd..9d22c5339b05 100644 --- a/media-sound/jack/jack-3.0.0-r1.ebuild +++ b/media-sound/jack/jack-3.0.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.0.0-r1.ebuild,v 1.1 2010/06/17 22:10:24 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.0.0-r1.ebuild,v 1.2 2011/04/12 17:21:02 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -26,22 +26,20 @@ RDEPEND="${DEPEND} media-sound/lame media-sound/cdparanoia" +DISTUTILS_SETUP_FILES=("setup-cursesmodule.py") + pkg_setup() { python_set_active_version 2 python_pkg_setup } src_prepare() { + distutils_src_prepare epatch "${FILESDIR}"/${P}-python26.patch } -src_compile() { - python setup-cursesmodule.py build || die "compilation failed" -} - src_install() { - python setup-cursesmodule.py install --root="${D}" \ - || die "curses module install failed" + distutils_src_install dobin jack || die "dobin failed" diff --git a/media-sound/jack/jack-3.0.0.ebuild b/media-sound/jack/jack-3.0.0.ebuild index 7f128165f7cd..7fb6f381347e 100644 --- a/media-sound/jack/jack-3.0.0.ebuild +++ b/media-sound/jack/jack-3.0.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.0.0.ebuild,v 1.14 2010/05/28 21:08:01 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.0.0.ebuild,v 1.15 2011/04/12 17:21:02 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -26,18 +26,15 @@ RDEPEND="${DEPEND} media-sound/lame media-sound/cdparanoia" +DISTUTILS_SETUP_FILES=("setup-cursesmodule.py") + pkg_setup() { python_set_active_version 2 python_pkg_setup } -src_compile() { - python setup-cursesmodule.py build || die "compilation failed" -} - src_install() { - python setup-cursesmodule.py install --root="${D}" \ - || die "curses module install failed" + distutils_src_install dobin jack || die "dobin failed" |