talimat 1001 B

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