mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/speex to 1.2rc2-1
This commit is contained in:
parent
5637c3cd9a
commit
3668a566e3
1 changed files with 12 additions and 6 deletions
|
@ -1,30 +1,36 @@
|
|||
# $Id: PKGBUILD 137583 2011-09-09 22:58:20Z allan $
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||||
# Contributer: Jason Chu <jason@archlinux.org>
|
||||
# Contributor: Jason Chu <jason@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - enhancements for armv5
|
||||
|
||||
pkgname=speex
|
||||
pkgver=1.2rc1
|
||||
pkgrel=4
|
||||
pkgver=1.2rc2
|
||||
pkgrel=1
|
||||
pkgdesc="A free codec for free speech"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.speex.org/"
|
||||
license=('BSD')
|
||||
depends=('libogg')
|
||||
depends=(libogg speexdsp)
|
||||
options=('!libtool')
|
||||
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
|
||||
md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
|
||||
|
||||
build() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
|
||||
[[ "$CARCH" == "arm" ]] && CONFIG="--enable-arm5e-asm --enable-fixed-point"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static $CONFIG
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static $CONFIG \
|
||||
--enable-binaries # Must be given or configure won't use pkg-config correctly
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
make -k check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
|
Loading…
Reference in a new issue