2012-03-06 01:10:56 +00:00
|
|
|
# $Id: PKGBUILD 137583 2011-09-09 22:58:20Z allan $
|
2013-02-02 17:22:15 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
2012-03-06 01:10:56 +00:00
|
|
|
# Contributer: Jason Chu <jason@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - enhancements for armv5
|
|
|
|
|
|
|
|
pkgname=speex
|
|
|
|
pkgver=1.2rc1
|
2013-10-21 13:06:20 +00:00
|
|
|
pkgrel=4
|
2012-03-06 01:10:56 +00:00
|
|
|
pkgdesc="A free codec for free speech"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.speex.org/"
|
|
|
|
license=('BSD')
|
|
|
|
depends=('libogg')
|
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/speex-$pkgver
|
|
|
|
|
|
|
|
[[ "$CARCH" == "arm" ]] && CONFIG="--enable-arm5e-asm --enable-fixed-point"
|
2013-10-21 13:06:20 +00:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static $CONFIG
|
2012-03-06 01:10:56 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-02-02 17:22:15 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2012-03-06 01:10:56 +00:00
|
|
|
}
|