summaryrefslogtreecommitdiffstats
path: root/abs/extra/speex/PKGBUILD
blob: aac674938fd904835f11f1d82cde12d92177f76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 7445 2008-08-02 03:05:20Z eduardo $
# Contributer: Jason Chu <jason@archlinux.org>
# Maintainer: Jason Chu <jason@archlinux.org>

pkgname=speex
pkgver=1.2rc1
pkgrel=1
pkgdesc="A free codec for free speech"
arch=('i686' 'x86_64')
license=('BSD')
depends=('libogg')
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
url="http://www.speex.org/"

build() {
   cd $startdir/src/speex-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make || return 1
   make DESTDIR=$startdir/pkg install
   #to fix kde detection
   cp $startdir/pkg/usr/include/speex/* $startdir/pkg/usr/include/
   #libtoolslay
   find $startdir/pkg -name '*.la' -exec rm {} \;
}