mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 21:47:13 +08:00
35 lines
978 B
Bash
35 lines
978 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=alsa-lib
|
|
pkgver=1.0.23
|
|
pkgrel=2
|
|
pkgdesc="An alternative implementation of Linux sound support"
|
|
arch=('i686' '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=('f48b50421d8a69d2d806d9c47e534f0d')
|
|
sha1sums=('8abcd773f1686a182c08fd53f0d7b353cfcf9f56')
|
|
|
|
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
|
|
}
|