mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:54:36 +08:00
25 lines
624 B
Bash
25 lines
624 B
Bash
pkgname=alsa-lib
|
|
pkgver=1.1.6
|
|
pkgrel=1
|
|
pkgdesc="An alternative implementation of Linux sound support"
|
|
arch=('x86_64')
|
|
url="http://www.alsa-project.org"
|
|
depends=('glibc')
|
|
optdepends=('python2')
|
|
makedepends=('python2')
|
|
license=('GPL')
|
|
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('2f981a8f7897c59ec2ddc44916d33788')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --without-debug --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
|
|
}
|