# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
# Contributor: Devin J. Pohly <djpohly+arch@gmail.com>

# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
#  - configure with --disable-sse

pkgname=sbsms
pkgver=2.0.2
pkgrel=2
pkgdesc="Library for time stretching and pitch scaling of audio"
arch=('i686' 'x86_64')
url="http://sbsms.sourceforge.net/"
license=('GPL')
depends=('gcc-libs')
options=('!staticlibs')
source=(http://downloads.sourceforge.net/project/sbsms/$pkgname/$pkgver/lib$pkgname-$pkgver.tar.gz)
sha1sums=('1842d0eae3cf5ac355d754e68fcdfd9391cd2fb7')

build() {
  cd lib$pkgname-$pkgver
  ./configure --prefix=/usr --enable-shared --disable-sse
  make
}

package() {
  cd lib$pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}