mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 21:04:37 +08:00
25 lines
608 B
Bash
25 lines
608 B
Bash
pkgname=alsa-lib
|
|
pkgver=1.1.0
|
|
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=('69515ca73c3c4a212ef45160dea846c1')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./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
|
|
}
|