diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-12-12 05:29:04 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-12-12 05:29:04 +0000 |
commit | a7c7f361c9c9e49d68f77d5e38e0ffef990d2b97 (patch) | |
tree | 094993b919a62d2cd2332b6b4b26fce7c37e773a /media-sound/alsa-driver | |
parent | Initial import of gkrellmlaunch into the portage tree. (diff) | |
download | gentoo-2-a7c7f361c9c9e49d68f77d5e38e0ffef990d2b97.tar.gz gentoo-2-a7c7f361c9c9e49d68f77d5e38e0ffef990d2b97.tar.bz2 gentoo-2-a7c7f361c9c9e49d68f77d5e38e0ffef990d2b97.zip |
misc. audio upgrades/new aterm options, and a missing mosix-user file.
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r-- | media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild | 59 | ||||
-rw-r--r-- | media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a | 1 |
2 files changed, 60 insertions, 0 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 new file mode 100644 index 000000000000..869d12e4757a --- /dev/null +++ b/media-sound/alsa-driver/alsa-driver-0.5.12a.ebuild @@ -0,0 +1,59 @@ +# 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.1 2001/12/12 05:29:04 drobbins Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Advanced Linux Sound Architecture modules" +SRC_URI="ftp://ftp.alsa-project.org/pub/driver/alsa-driver-${PV}.tar.bz2" +HOMEPAGE="http://www.alsa-project.org" + +#virtual/glibc should depend on specific kernel headers +DEPEND="sys-devel/autoconf virtual/glibc" +PROVIDE="virtual/alsa" + +#might be good to roll this into Portage at some point. +KV=`readlink /usr/src/linux` +if [ $? -ne 0 ] +then + echo + echo "/usr/src/linux symlink does not exist; cannot continue." + echo + exit 1 +fi +#alsa-driver will compile modules for the kernel pointed to by /usr/src/linux +KV=${KV/linux-/} + +src_unpack() { + unpack ${A} + cd ${S} + cp configure.in configure.in.orig + sed -e 's/-m.86//g' configure.in.orig > configure.in + autoconf +} + +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 +} + +src_install () { + #point this to the kernel headers in the future, not the kernel sources + insinto /usr/include/linux + cd ${S}/include + doins asound.h asoundid.h asequencer.h ainstr_*.h + dodoc INSTALL FAQ + dodir /lib/modules/${KV}/misc + cp ${S}/modules/*.o ${D}/lib/modules/${KV}/misc + dodir /etc/modutils + insinto /etc/modutils + doins ${FILESDIR}/alsa + #this is the new modular modules system (from Debian) :) +} + +pkg_postinst() { + if [ -e /sbin/update-modules ] + then + /sbin/update-modules + fi +} diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a b/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a new file mode 100644 index 000000000000..b461bf83c87a --- /dev/null +++ b/media-sound/alsa-driver/files/digest-alsa-driver-0.5.12a @@ -0,0 +1 @@ +MD5 2c6ace1dd097f03514ca270e9879ee44 alsa-driver-0.5.12a.tar.bz2 917504 |