summaryrefslogtreecommitdiff
blob: 138c8499b5c73ea5c703c82723598271fe58d231 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/pyvorbis/pyvorbis-1.1.ebuild,v 1.1 2002/11/30 21:08:11 mkennedy Exp $

IUSE=""

DESCRIPTION="Python bindings for the ogg.vorbis library"
HOMEPAGE="http://www.andrewchatham.com/pyogg/"
SRC_URI="http://www.andrewchatham.com/pyogg/download/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86"

# Is distutils packaged with python now?
DEPEND="dev-lang/python
	media-libs/libogg
	>=media-libs/pyogg-1.1"

S="${WORKDIR}/${P}"

src_compile() {
	./config_unix.py || die
	python setup.py build || die
}

src_install() {
	python setup.py install --prefix ${D}/usr || die
	dodoc AUTHORS COPYING ChangeLog NEWS README
}