summaryrefslogtreecommitdiff
blob: 339f1a191af65699fdd26e4d5fdbb47ede0401fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz/python-musicbrainz-20050108-r1.ebuild,v 1.1 2008/03/22 12:23:45 hawking Exp $

inherit distutils

DESCRIPTION="Python bindings for musicbrainz client library"
HOMEPAGE="http://musicbrainz.org/"
SRC_URI="mirror://gentoo/${P}.tbz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE="examples"
DEPEND="=media-libs/musicbrainz-2*
	|| ( >=dev-lang/python-2.5
		( >=dev-lang/python-2.3 >=dev-python/ctypes-0.9.2 )
	)"

S=${WORKDIR}/${PN}

src_install() {
	distutils_src_install
	if use examples; then
		dodir /usr/share/doc/${PF}/examples
		cp examples/* "${D}"/usr/share/doc/${PF}/examples/
	fi
}