mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:37:14 +08:00
28 lines
730 B
Bash
28 lines
730 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/portaudio
|
|
|
|
pkgname=portaudio
|
|
pkgver=19_20140130
|
|
pkgrel=2
|
|
pkgdesc="PortAudio is a free, cross platform, open-source, audio I/O library."
|
|
arch=('x86_64')
|
|
url="http://www.portaudio.com"
|
|
license="custom"
|
|
depends=('gcc-libs' 'jack')
|
|
options=('!makeflags')
|
|
source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
|
|
md5sums=('7f220406902af9dca009668e198cbd23')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
|
|
./configure --prefix=/usr --with-alsa --with-jack --enable-cxx
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
|
|
}
|