talimat 924 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Java Lucene kütüphanesinin c++ sürümü
  2. # URL: https://github.com/luceneplusplus/LucenePlusPlus
  3. # Paketçi: milisarge
  4. # Gerekler: boost cmake subversion
  5. # Grup: kütüphane
  6. isim=lucenepp
  7. surum=3.0.7
  8. devir=1
  9. kaynak=(https://github.com/luceneplusplus/LucenePlusPlus/archive/master.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. mkdir build
  12. sed -i \
  13. -e 's#SET(LUCENE++_VERSION_REVISION.*#SET(LUCENE++_VERSION_REVISION "5")#' \
  14. -e 's#SET(LUCENE++_VERSION_PATCH.*#SET(LUCENE++_VERSION_PATCH "0")#' \
  15. "$SRC"/LucenePlusPlus-master/CMakeLists.txt
  16. cd build
  17. cmake ../LucenePlusPlus-master \
  18. -DCMAKE_INSTALL_PREFIX=/usr \
  19. -DLIB_DESTINATION=/usr/lib \
  20. -DBoost_LIBRARY_DIR=/usr/lib \
  21. -DENABLE_CUSTOM_ALLOCATOR='FALSE' \
  22. -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT'
  23. # RELAXED for boost 1.58 breakage, remove when lucene++ updates
  24. make
  25. make DESTDIR="$PKG" install
  26. }