talimat 1010 B

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