talimat 716 B

123456789101112131415161718192021222324252627
  1. # Description: ATSC A/52 akışlarını çözmek için ücretsiz bir kütüphane
  2. # URL: http://liba52.sourceforge.net/
  3. # Packager: milisarge
  4. # Depends on:
  5. name=liba52
  6. version=0.7.4
  7. release=1
  8. source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz)
  9. build() {
  10. cd a52dec-$version
  11. ./configure --prefix=/usr \
  12. --mandir=/usr/share/man \
  13. --enable-shared \
  14. --disable-static \
  15. CFLAGS="-g -O2 $([ $(uname -m) = x86_64 ] && echo -fPIC)"
  16. make
  17. make DESTDIR=$PKG install
  18. # required for xine-lib
  19. install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
  20. install -v -m644 -D doc/liba52.txt \
  21. $PKG/usr/share/doc/liba52-$version/liba52.txt
  22. }