mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
36 lines
845 B
Bash
36 lines
845 B
Bash
# Maintainer: Philipp Gildein <rmbl@openspeak-project.org>
|
|
|
|
pkgname=portaudio-svn
|
|
pkgver=1525
|
|
pkgrel=1
|
|
pkgdesc="PortAudio is a free, cross platform, open-source, audio I/O library."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.portaudio.com"
|
|
license="custom"
|
|
depends=('jack-audio-connection-kit')
|
|
makedepends=('subversion')
|
|
conflicts=('portaudio')
|
|
provides=('portaudio')
|
|
source=()
|
|
md5sums=()
|
|
|
|
_svntrunk=https://www.portaudio.com/repos/portaudio
|
|
_svnmod=trunk
|
|
|
|
build() {
|
|
cd $startdir/src
|
|
|
|
if [ -d $_svnmod/.svn ]; then
|
|
echo "Directory is already existing - Updating"
|
|
(cd $_svnmod && svn update)
|
|
else
|
|
echo "Checking out from SVN"
|
|
svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver $_svnmod
|
|
fi
|
|
|
|
cd $_svnmod
|
|
./configure --prefix=/usr --with-alsa --with-jack || return 1
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
}
|