talimat 667 B

12345678910111213141516171819202122232425262728
  1. # Tanım: MusicBrainz Sunucusuna Erişimi Sağlayan Kitaplık
  2. # URL: http://musicbrainz.org/doc/libmusicbrainz
  3. # Paketçi: milisarge
  4. # Gerekler: cmake expat neon doxygen
  5. # Grup: kütüphane
  6. isim=libmusicbrainz5
  7. surum=5.1.0
  8. devir=1
  9. kaynak=( https://github.com/metabrainz/libmusicbrainz/releases/download/release-$surum/libmusicbrainz-$surum.tar.gz)
  10. derle() {
  11. cd libmusicbrainz-$surum
  12. mkdir build
  13. cd build
  14. cmake .. \
  15. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  16. -DBUILD_SHARED_LIBS:BOOL=ON \
  17. -DBUILD_STATIC_LIBS:BOOL=OFF
  18. make
  19. doxygen ../Doxyfile
  20. make DESTDIR=$PKG install
  21. # Documentation
  22. mkdir -p $PKG/usr/share/doc/$isim-$surum
  23. cp -vr docs/ $PKG/usr/share/doc/$isim-$surum
  24. }