| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/positron/positron-1.1.ebuild,v 1.13 2008/12/20 02:48:29 aballier Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 6 |
PYTHON_DEPEND="2"
|
| 7 |
|
| 8 |
inherit distutils
|
| 9 |
|
| 10 |
DESCRIPTION="Synchronization manager for the Neuros Audio Computer (www.neurosaudio.com) portable music player."
|
| 11 |
HOMEPAGE="http://www.xiph.org/positron"
|
| 12 |
SRC_URI="http://www.xiph.org/positron/files/source/${P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="BSD"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="x86 ppc sparc amd64"
|
| 17 |
IUSE="vorbis"
|
| 18 |
|
| 19 |
DEPEND="vorbis? ( dev-python/pyvorbis )"
|
| 20 |
RDEPEND="${DEPEND}"
|
| 21 |
|
| 22 |
pkg_setup() {
|
| 23 |
python_set_active_version 2
|
| 24 |
python_pkg_setup
|
| 25 |
}
|
| 26 |
|
| 27 |
src_prepare() {
|
| 28 |
distutils_src_prepare
|
| 29 |
# install docs in /usr/share/doc/${PF}, bug #241290
|
| 30 |
sed -i -e "s:share/doc/positron:share/doc/${PF}:" setup.py
|
| 31 |
}
|