milis/talimatname/genel/l/libmad/talimat

29 lines
621 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
2017-10-28 14:10:23 +02:00
isim=libmad
surum=0.15.1b
devir=3
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(ftp://ftp.mars.org/pub/mpeg/$isim-$surum.tar.gz
2017-07-26 17:56:49 +02:00
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-10-28 14:10:23 +02:00
cd ${isim}-${surum}
2017-07-26 17:56:49 +02:00
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
}