# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-0.5.10-r8.ebuild,v 1.12 2004/04/20 17:13:41 eradicator Exp $ IUSE="" inherit eutils DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" RESTRICT="nomirror" HOMEPAGE="http://www.alsa-project.org/" DEPEND=">=sys-libs/ncurses-5.1 >=media-libs/alsa-lib-0.5.10" SLOT="0.5" LICENSE="GPL-2" KEYWORDS="x86 ppc" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/alsa-utils-0.5.10-aplay-destdir.diff } src_compile() { econf || die make || die } src_install() { make DESTDIR=${D} install || die dodoc COPYING ChangeLog README dodoc seq/aconnect/README.aconnect dodoc seq/aseqnet/README.aseqnet newdoc alsamixer/README README.alsamixer exeinto /etc/init.d ; newexe ${FILESDIR}/alsa-0.5.10 alsa }