2010-03-14 23:48:48 +08:00
|
|
|
pkgname=alsa-lib
|
2015-12-14 15:40:29 +08:00
|
|
|
pkgver=1.1.0
|
2012-12-07 08:38:32 +08:00
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="An alternative implementation of Linux sound support"
|
2012-12-07 08:38:32 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
url="http://www.alsa-project.org"
|
|
|
|
depends=('glibc')
|
2011-01-07 08:58:08 +08:00
|
|
|
optdepends=('python2')
|
|
|
|
makedepends=('python2')
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('GPL')
|
2012-12-07 08:38:32 +08:00
|
|
|
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
|
2015-12-14 15:40:29 +08:00
|
|
|
md5sums=('69515ca73c3c4a212ef45160dea846c1')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-07 08:58:08 +08:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2011-10-24 07:41:25 +08:00
|
|
|
|
2011-01-07 08:58:08 +08:00
|
|
|
./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|