mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 04:57:14 +08:00
31 lines
734 B
Bash
31 lines
734 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=alsa-lib
|
|
pkgver=1.0.26
|
|
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')
|
|
options=(!libtool)
|
|
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('2dfa35d28471d721e592b616beedf965')
|
|
|
|
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
|
|
}
|