updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mingw32-speex / PKGBUILD
blobd3a3e44d7995c69eea449c21181183fe4f315a82
1 # Maintainer: Pierre Bourdon <delroth@gmail.com>
3 _target=i486-mingw32
5 pkgname=mingw32-speex
6 pkgver=1.2rc1
7 pkgrel=2
8 pkgdesc="A free codec for free speech"
9 arch=('any')
10 license=('BSD')
11 depends=('mingw32-libogg')
12 options=('!libtool')
13 source=(http://downloads.us.xiph.org/releases/speex/speex-$pkgver.tar.gz)
14 md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
15 url="http://www.speex.org/"
17 build() {
18    cd $srcdir/speex-$pkgver
20    unset LDFLAGS
22    ./configure --host=${_target} --build=$CHOST --prefix=/usr/${_target} \
23                --sysconfdir=/etc --localstatedir=/var
24    make
25    make DESTDIR=$pkgdir install
27    install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE