Lines 1-15
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.9a.ebuild,v 1.9 2005/09/14 06:59:10 agriffis Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.9a.ebuild,v 1.9 2005/09/14 06:59:10 agriffis Exp $ |
|
|
4 |
inherit eutils |
5 |
|
6 |
MY_P="${P/_rc/rc}" |
7 |
S="${WORKDIR}/${MY_P}" |
4 |
|
8 |
|
5 |
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
9 |
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
6 |
HOMEPAGE="http://www.alsa-project.org/" |
10 |
HOMEPAGE="http://www.alsa-project.org/" |
7 |
SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" |
11 |
SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" |
8 |
|
12 |
|
9 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
10 |
SLOT="0.9" |
14 |
SLOT="0.9" |
11 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 -sparc x86" |
15 |
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 -sparc x86" |
12 |
IUSE="nls" |
16 |
IUSE="nls uclibc" |
13 |
|
17 |
|
14 |
DEPEND=">=sys-libs/ncurses-5.1 |
18 |
DEPEND=">=sys-libs/ncurses-5.1 |
15 |
dev-util/dialog |
19 |
dev-util/dialog |
Lines 18-23
Link Here
|
18 |
sys-apps/pciutils" |
22 |
sys-apps/pciutils" |
19 |
|
23 |
|
20 |
src_compile() { |
24 |
src_compile() { |
|
|
25 |
if use uclibc ; then |
26 |
cd ${S} |
27 |
epatch ${FILESDIR}/alsa-utils-1.0.9a-uclibc.patch || die "patch failed" |
28 |
fi |
21 |
econf \ |
29 |
econf \ |
22 |
$(use_enable nls) \ |
30 |
$(use_enable nls) \ |
23 |
|| die "configure failed" |
31 |
|| die "configure failed" |