blob: b03072bae5f8166582306e81d1b70c4c63f50481 (
plain)
1 # Description: Advanced Linux Sound Architecture driver package
2 # URL: http://www.alsa-project.org/
3 # Maintainer: Matt Housh, jaeger at morpheus dot net
4
5 name=alsa-driver
6 version=1.0.14rc3
7 release=1
8 source=(http://gentoo.osuosl.org/distfiles/$name-$version.tar.bz2)
9
10 build() {
11
12 [ -z "$ALSA_CARDS" ] && ALSA_CARDS="all"
13
14 cd $name-$version
15 ./configure --prefix=/usr \
16 --with-cards=$ALSA_CARDS \
17 --with-kernel=/lib/modules/`uname -r`/source \
18 --with-build=/lib/modules/`uname -r`/build
19 sed -i -e '/depmod/d' Makefile
20 make
21 make DESTDIR=$PKG install
22 }
|