milis/talimatname/genel/l/libmad/talimat

29 lines
636 B
Plaintext
Raw Normal View History

2017-03-31 08:20:44 +02:00
# Description: Yüksek kaliteli bir MPEG ses dekoderi
2016-02-24 01:27:23 +01:00
# URL: http://www.underbit.com/products/mad/
2016-11-02 00:14:32 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on:
name=libmad
version=0.15.1b
2017-07-26 17:56:49 +02:00
release=3
2016-02-24 01:27:23 +01:00
2017-07-26 17:56:49 +02:00
source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz
libmad.patch
amd64-64bit.diff
frame_length.diff
optimize.diff)
2016-02-24 01:27:23 +01:00
build() {
2017-07-26 17:56:49 +02:00
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
2016-02-24 01:27:23 +01:00
}