summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-09 10:03:29 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-09 10:03:29 (GMT)
commit93b4b04e0bd9adee7a78f1bf27ae4e2b2aba3293 (patch)
tree93aa00f7fed6e8249158ac8873c4355e9505df8b
parent664fd63319a2dfa6c3e28a328f85bfccf55e40e9 (diff)
downloadlinhes_pkgbuild-93b4b04e0bd9adee7a78f1bf27ae4e2b2aba3293.zip
linhes_pkgbuild-93b4b04e0bd9adee7a78f1bf27ae4e2b2aba3293.tar.gz
linhes_pkgbuild-93b4b04e0bd9adee7a78f1bf27ae4e2b2aba3293.tar.bz2
alsa-drive:Initial inclusion.
-rw-r--r--abs/extra/alsa-driver/PKGBUILD25
-rw-r--r--abs/extra/alsa-driver/alsa-driver.install8
2 files changed, 33 insertions, 0 deletions
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 <SycoLTH at gmail dot com>
+
+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
+}