#Maintainer: George Vlahavas pkgname=portaudio pkgver=19.7.0 pkgrel=2gv source=("https://github.com/PortAudio/portaudio/archive/refs/tags/v${pkgver}.tar.gz") docs=("README*" "LICENSE.txt") url=https://github.com/portaudio/portaudio/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "portaudio (Portable cross-platform Audio API)" "portaudio is a free, cross platform, open-source, audio I/O library." "It lets you write simple audio programs in 'C' that will compile and" "run on many platforms including Windows, Macintosh (8,9,X), Unix" "(OSS), SGI, and BeOS. PortAudio is intended to promote the exchange" "of audio synthesis software between developers on different platforms." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --enable-cxx \ --build=$arch-slackware-linux make -j 1 || return 1 # build breaks for >1 jobs with C++ support make install DESTDIR=$startdir/pkg }