milis/talimatname/genel/l/libmad/talimat

30 lines
647 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Yüksek kaliteli bir MPEG ses dekoderi
# URL: http://www.underbit.com/products/mad/
# Paketçi: milisarge
# Gerekler:
2018-08-03 13:50:09 +02:00
# Grup: kütüphane medya
2018-06-09 00:06:58 +02:00
isim=libmad
surum=0.15.1b
devir=3
kaynak=(ftp://ftp.mars.org/pub/mpeg/$isim-$surum.tar.gz
libmad.patch
amd64-64bit.diff
frame_length.diff
optimize.diff)
derle() {
cd ${isim}-${surum}
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
}