talimat 1006 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Tanım: Mediainfo için paylaşılan kütüphane.
  2. # URL: http://mediainfo.sourceforge.net/
  3. # Paketçi: milisarge
  4. # Gerekler: libmms libzen
  5. # Grup: kütüphane
  6. isim=libmediainfo
  7. surum=0.7.69
  8. devir=1
  9. kaynak=( http://downloads.sourceforge.net/mediainfo/${isim}_${surum}.tar.bz2)
  10. derle(){
  11. cd $SRC/MediaInfoLib/Project/GNU/Library
  12. sh ./autogen
  13. ./configure --prefix=/usr \
  14. --enable-shared \
  15. --disable-static \
  16. --enable-visibility \
  17. --with-libcurl \
  18. --with-libmms
  19. make
  20. make DESTDIR=$PKG install
  21. for i in MediaInfo MediaInfoDLL; do
  22. install -dm755 $PKG/usr/include/$i
  23. install -m644 $SRC/MediaInfoLib/Source/$i/*.h $PKG/usr/include/$i
  24. done
  25. install -dm755 $PKG/usr/lib/pkgconfig
  26. install -m644 $SRC/MediaInfoLib/Project/GNU/Library/libmediainfo.pc \
  27. $PKG/usr/lib/pkgconfig
  28. sed -i -e 's|Version: |Version: '$surum'|g' \
  29. $PKG/usr/lib/pkgconfig/libmediainfo.pc
  30. }