#Maintainer: Thorsten Muehlfelder pkgname=libsamplerate pkgver=0.1.7 pkgrel=1tm arch=i686 source=("http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz") sourcetemplate=http://thenktor.dyndns.org/packages/$pkgname/ url="http://www.mega-nerd.com/SRC/" docs=('README' 'AUTHORS' 'COPYING' 'INSTALL' 'ChangeLog' 'NEWS') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Secret Rabbit Code (aka libsamplerate)" "SRC is capable of arbitrary and time varying conversions;" "from downsampling by a factor of 12 to upsampling by the same factor." "" "Arbitrary in this case means that the ratio of input and output sample" "rates can be an irrational number." ) build() { cd $startdir/src/${pkgname}-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --disable-static make -j3 || return 1 make check make DESTDIR=$startdir/pkg/ install }