mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/speex
This commit is contained in:
parent
88e7ed114a
commit
d9712fe03a
1 changed files with 33 additions and 0 deletions
33
extra/speex/PKGBUILD
Normal file
33
extra/speex/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# $Id: PKGBUILD 137583 2011-09-09 22:58:20Z allan $
|
||||
# Maintainer:
|
||||
# Contributer: Jason Chu <jason@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - enhancements for armv5
|
||||
|
||||
pkgname=speex
|
||||
pkgver=1.2rc1
|
||||
pkgrel=2.1
|
||||
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"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
make DESTDIR=$startdir/pkg install
|
||||
|
||||
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
Reference in a new issue