From 93b4b04e0bd9adee7a78f1bf27ae4e2b2aba3293 Mon Sep 17 00:00:00 2001 From: Cecil Date: Sat, 9 Jul 2011 03:03:29 -0700 Subject: alsa-drive:Initial inclusion. --- abs/extra/alsa-driver/PKGBUILD | 25 +++++++++++++++++++++++++ abs/extra/alsa-driver/alsa-driver.install | 8 ++++++++ 2 files changed, 33 insertions(+) create mode 100644 abs/extra/alsa-driver/PKGBUILD create mode 100644 abs/extra/alsa-driver/alsa-driver.install diff --git a/abs/extra/alsa-driver/PKGBUILD b/abs/extra/alsa-driver/PKGBUILD new file mode 100644 index 0000000..c4c3624 --- /dev/null +++ b/abs/extra/alsa-driver/PKGBUILD @@ -0,0 +1,25 @@ +# Syco + +pkgname=alsa-driver +_pkgname=alsa-driver +pkgver=1.0.24 +pkgrel=0 +pkgdesc="An alternative implementation of Linux sound support" +arch=('i686' 'x86_64') +provides=(alsa-driver) +install='alsa-driver.install' +url="http://www.alsa-project.org" +license=('GPL') +options=(!libtool) +#source=(ftp://ftp.alsa-project.org/pub/driver/${_pkgname}-${pkgver}.tar.bz2) +source=(http://mirrors.zerg.biz/alsa/driver/${_pkgname}-${pkgver}.tar.bz2) +md5sums=('a4ffd80745ce5098dfd48d83c2769e0e') + +build() { + k_updates=${pkgdir}/lib/modules/$(uname -r)/updates + install -d ${k_updates} + cd ${srcdir}/${_pkgname}-${pkgver} + ./configure --with-cards=all + make || return 1 + install -D -m644 modules/*.ko ${k_updates} || return 1 +} diff --git a/abs/extra/alsa-driver/alsa-driver.install b/abs/extra/alsa-driver/alsa-driver.install new file mode 100644 index 0000000..912055c --- /dev/null +++ b/abs/extra/alsa-driver/alsa-driver.install @@ -0,0 +1,8 @@ +_kernver=`uname -r` + post_remove() { + depmod -a $_kernver +} + +post_install() { + depmod -a $_kernver +} -- cgit v0.12