blob: a554241ad7a8068011cd87592f10d907a34efdee (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyalsaaudio/pyalsaaudio-0.5.ebuild,v 1.1 2009/07/10 18:45:36 arfrever Exp $
inherit distutils
DESCRIPTION="A Python wrapper for the ALSA API"
HOMEPAGE="http://www.sourceforge.net/projects/pyalsaaudio"
SRC_URI="mirror://sourceforge/pyalsaaudio/${P}.tar.gz"
LICENSE="PSF-2.4"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
RDEPEND="media-libs/alsa-lib"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx )"
DOCS="CHANGES README"
src_compile() {
distutils_src_compile
if use doc; then
cd doc
emake html || die "emake html failed"
fi
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r doc/html/
fi
insinto /usr/share/doc/${PF}/examples
doins *test.py
}
|