milis/talimatname/genel/l/libmad/talimat

29 lines
629 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Yüksek kaliteli bir MPEG ses dekoderi
2016-02-24 01:27:23 +01:00
# URL: http://www.underbit.com/products/mad/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
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
2017-10-27 23:59:41 +02:00
derle() {
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
}