talimat 647 B

123456789101112131415161718192021222324252627282930
  1. # Tanım: Yüksek kaliteli bir MPEG ses dekoderi
  2. # URL: http://www.underbit.com/products/mad/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: kütüphane medya
  6. isim=libmad
  7. surum=0.15.1b
  8. devir=3
  9. kaynak=(ftp://ftp.mars.org/pub/mpeg/$isim-$surum.tar.gz
  10. libmad.patch
  11. amd64-64bit.diff
  12. frame_length.diff
  13. optimize.diff)
  14. derle() {
  15. cd ${isim}-${surum}
  16. patch -p1 -i "${SRC}/libmad.patch"
  17. patch -p1 -i "${SRC}/amd64-64bit.diff"
  18. patch -p1 -i "${SRC}/frame_length.diff"
  19. patch -p1 -i "${SRC}/optimize.diff"
  20. CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1"
  21. autoconf
  22. ./configure --prefix=/usr
  23. make
  24. make DESTDIR="${PKG}" install
  25. }