diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-02-20 06:23:31 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-02-20 06:23:31 +0000 |
commit | 95909c6e854ae1169664729522747d69cb095a78 (patch) | |
tree | 034304d12efe1ff1d63d7c77cc7a41f272c68067 /media-sound | |
parent | Initial commit. R is GNU S, a language and environment for statistical comput... (diff) | |
download | gentoo-2-95909c6e854ae1169664729522747d69cb095a78.tar.gz gentoo-2-95909c6e854ae1169664729522747d69cb095a78.tar.bz2 gentoo-2-95909c6e854ae1169664729522747d69cb095a78.zip |
build fixes; closing bug #656
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild | 11 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a-r1 | 1 |
2 files changed, 7 insertions, 5 deletions
diff --git a/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild b/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild index 3ed23d7124b7..167a2b718e0c 100644 --- a/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild +++ b/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild,v 1.3 2002/02/09 01:44:32 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild,v 1.4 2002/02/20 06:23:31 drobbins Exp $ S=${WORKDIR}/${P} DESCRIPTION="Advanced Linux Sound Architecture modules" @@ -11,9 +11,9 @@ HOMEPAGE="http://www.alsa-project.org" #virtual/glibc should depend on specific kernel headers DEPEND="sys-devel/autoconf virtual/glibc" PROVIDE="virtual/alsa" -KV="" -pkg_setup() { +setkv() { + KV="" KV=`readlink /usr/src/linux` if [ $? -ne 0 ] ; then echo @@ -35,8 +35,9 @@ src_unpack() { } src_compile() { - try ./configure --with-kernel="${ROOT}usr/src/linux-${KV}" --with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-cards=all - try emake + setkv + ./configure --with-kernel="${ROOT}usr/src/linux-${KV}" --with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-cards=all || die + emake || die } src_install () { diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a-r1 b/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a-r1 new file mode 100644 index 000000000000..2a6a0b44f3cc --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a-r1 @@ -0,0 +1 @@ +MD5 2c6ace1dd097f03514ca270e9879ee44 alsa-driver-0.5.12a.tar.bz2 915079 |