summaryrefslogtreecommitdiff
blob: 5a68c4dc3af6276083e95d90e8fe303b466194e2 (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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/alsa-oss-1.0.0_rc2.ebuild,v 1.3 2004/03/19 07:56:03 mr_bones_ Exp $

DESCRIPTION="Advanced Linux Sound Architecture OSS compatibility layer."
HOMEPAGE="http://www.alsa-project.org/"
LICENSE="GPL-2"

DEPEND="virtual/glibc
	>=media-libs/alsa-lib-1.0.0_rc2"

SLOT="0"
KEYWORDS="~x86 -sparc ~ppc ~amd64"

MY_P=${P/_rc/rc}
#SRC_URI="mirror://alsaproject/oss-lib/${P}.tar.bz2"
SRC_URI="ftp://ftp.alsa-project.org/pub/oss-lib/${MY_P}.tar.bz2"
#RESTRICT="nomirror"
S=${WORKDIR}/${MY_P}

src_compile() {
	econf || die "./configure failed"
	emake || die "Parallel Make Failed"
}

src_install() {
	einstall || die
	dodoc COPYING
}