mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
786 B
Bash
28 lines
786 B
Bash
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
|
|
pkgname=libmad
|
|
pkgver=0.15.1b
|
|
pkgrel=1
|
|
pkgdesc="A high-quality MPEG audio decoder"
|
|
arch=(arm)
|
|
url="http://www.underbit.com/products/mad/"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
makedepends=('autoconf')
|
|
replaces=('mad')
|
|
conflicts=('mad')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/sourceforge/mad/$pkgname-$pkgver.tar.gz mad.pc)
|
|
md5sums=('1be543bc30c56fb6bea1d7bf6a64e66c' '1a56c8f670ef8beac739f50ddeead99b')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1"
|
|
autoconf
|
|
./configure --prefix=/usr
|
|
sed -i 's/-fforce-mem//g' Makefile
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
|
|
install -Dm644 "$srcdir/mad.pc" "$pkgdir/usr/lib/pkgconfig/mad.pc"
|
|
}
|