updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / a52dec-fft / PKGBUILD
blobb258b695191494d943fe9642656153394ffd9f87
1 # Maintainer: JSpaces <jspaces |aT| lightspeed |dOt| ca>
2 # contributor: Thomas Baechler <thomas@archlinux.org>
3 # contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
5 pkgname=a52dec-fft
6 _srcname=a52dec
7 pkgver=0.7.4
8 pkgrel=5
9 pkgdesc="A free Fast Fourier Transformation optimized ATSC A/52 stream decoder."
10 arch=('i686' 'x86_64')
11 url="http://liba52.sourceforge.net/"
12 license=('GPL2')
13 depends=('glibc' 'libdjbfft')
14 options=(!libtool)
15 conflicts=('a52dec')
16 provides=('a52dec=$pkgver')
17 source=(http://liba52.sourceforge.net/files/${_srcname}-${pkgver}.tar.gz
18         a52dec-0.7.4-build.patch)
19 md5sums=('caa9f5bc44232dc8aeea773fea56be80'
20         'fa16f224a7dceb7613824380abef0052')
22 build() {
23   cd ${srcdir}/${_srcname}-${pkgver}
24   patch -Np1 -i ${srcdir}/a52dec-0.7.4-build.patch
26   # Update auto build files, compile fails otherwise
27   ./bootstrap
28   
29   # djbfft support enabled
30   ./configure --prefix=/usr \
31   --enable-shared \
32   --enable-djbfft
33   
34   make
37 package() {
38   cd ${srcdir}/${_srcname}-${pkgver}
39   make DESTDIR=${pkgdir} install
40   
41   # Copy header file in case needed.
42   install -m644 liba52/a52_internal.h ${pkgdir}/usr/include/a52dec/
44 # vim:set ts=2 sw=2 et: