# Copyright 1999-2009 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.13 2009/08/03 13:04:31 ssuominen Exp $ inherit distutils DESCRIPTION="A frontend for several cd-rippers and mp3 encoders" HOMEPAGE="http://www.home.unix-ag.org/arne/jack/" SRC_URI="http://www.home.unix-ag.org/arne/jack/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="" DEPEND="dev-lang/python sys-libs/ncurses" RDEPEND="${DEPEND} dev-python/cddb-py dev-python/id3-py dev-python/pyid3lib dev-python/pyvorbis media-libs/flac media-sound/lame media-sound/cdparanoia" src_compile() { python setup-cursesmodule.py build || die "compilation failed" } src_install() { python setup-cursesmodule.py install --root="${D}" \ || die "curses module install failed" dobin jack || die "dobin failed" distutils_python_version dodir /usr/$(get_libdir)/python${PYVER}/site-packages insinto /usr/$(get_libdir)/python${PYVER}/site-packages doins jack_*py newman jack.man jack.1 dodoc README doc/ChangeLog doc/TODO dohtml doc/*html doc/*css doc/*gif }