summaryrefslogtreecommitdiffstats
path: root/abs/core/alsa-lib
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/alsa-lib')
-rw-r--r--abs/core/alsa-lib/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/abs/core/alsa-lib/PKGBUILD b/abs/core/alsa-lib/PKGBUILD
index 9ba2945..f3550a9 100644
--- a/abs/core/alsa-lib/PKGBUILD
+++ b/abs/core/alsa-lib/PKGBUILD
@@ -1,23 +1,29 @@
-# $Id: PKGBUILD 79040 2010-04-30 05:28:10Z tpowa $
+# $Id: PKGBUILD 94180 2010-10-05 03:01:02Z eric $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=alsa-lib
pkgver=1.0.23
-pkgrel=1
+pkgrel=2
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
depends=('glibc')
-optdepends=('python')
-makedepends=('python')
+optdepends=('python2')
+makedepends=('python2')
license=('GPL')
options=(!libtool)
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
+md5sums=('f48b50421d8a69d2d806d9c47e534f0d')
+sha1sums=('8abcd773f1686a182c08fd53f0d7b353cfcf9f56')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
make || return 1
- make DESTDIR=$pkgdir install
}
-md5sums=('f48b50421d8a69d2d806d9c47e534f0d')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install || return 1
+}
+