summaryrefslogtreecommitdiff
blob: 55886b2f162188f26dfb8f2f5f2e4f67c230eaa8 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.8.2.ebuild,v 1.2 2002/07/11 06:30:39 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="the audio output library"
SRC_URI="http://www.vorbis.com/files/rc3/unix/${PN}-${PV}.tar.gz"
HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"

DEPEND="virtual/glibc
        esd? ( >=media-sound/esound-0.2.22 )"

src_compile() {
	./configure --host=${CHOST} \
			--prefix=/usr \
			--enable-shared \
			--enable-static || die

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
    
	rm -rf ${D}/usr/share/doc
	dodoc AUTHORS CHANGES COPYING README TODO
	dodoc doc/API doc/DRIVERS doc/USAGE doc/WANTED
}