29 lines
636 B
Plaintext
29 lines
636 B
Plaintext
# Description: Yüksek kaliteli bir MPEG ses dekoderi
|
|
# URL: http://www.underbit.com/products/mad/
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=libmad
|
|
version=0.15.1b
|
|
release=3
|
|
|
|
source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz
|
|
libmad.patch
|
|
amd64-64bit.diff
|
|
frame_length.diff
|
|
optimize.diff)
|
|
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
patch -p1 -i "${SRC}/libmad.patch"
|
|
patch -p1 -i "${SRC}/amd64-64bit.diff"
|
|
patch -p1 -i "${SRC}/frame_length.diff"
|
|
patch -p1 -i "${SRC}/optimize.diff"
|
|
CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1"
|
|
autoconf
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR="${PKG}" install
|
|
}
|