48 lines
1 KiB
Bash
48 lines
1 KiB
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.1.1.ebuild,v 1.8 2010/05/28 21:08:01 arfrever Exp $
|
|
|
|
EAPI="3"
|
|
PYTHON_DEPEND="2"
|
|
|
|
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="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"
|
|
|
|
pkg_setup() {
|
|
python_set_active_version 2
|
|
python_pkg_setup
|
|
}
|
|
|
|
src_install() {
|
|
distutils_src_install
|
|
|
|
dobin jack || die "dobin failed"
|
|
|
|
insinto $(python_get_sitedir)
|
|
PYTHON_MODNAME="$(ls jack_*.py)"
|
|
doins ${PYTHON_MODNAME}
|
|
|
|
newman jack.man jack.1
|
|
|
|
dodoc README doc/ChangeLog doc/TODO
|
|
|
|
dohtml doc/*html doc/*css doc/*gif
|
|
}
|