talimat 986 B

123456789101112131415161718192021222324252627282930
  1. # Tanım: Google Test - xUnit çerçevesine dayalı (JUnit gibi) C++ test yardımcı programı
  2. # URL: http://code.google.com/p/googletest
  3. # Paketçi: alihan-ozturk28@hotmail.com
  4. # Gerekler: cmake
  5. # Grup: sistem geliştirme
  6. isim=gtest
  7. surum=1.7.0
  8. devir=1
  9. kaynak=(http://googletest.googlecode.com/files/$isim-$surum.zip)
  10. derle() {
  11. cd $isim-$surum
  12. mkdir build
  13. cd build
  14. cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
  15. make
  16. cd $SRC/$isim-$surum
  17. mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$isim,src/gtest/src,src/gtest/cmake}
  18. install -m 0644 build/libgtest{,_main}.so $PKG/usr/lib
  19. install -m 0644 include/gtest/*.h $PKG/usr/include/gtest
  20. install -m 0644 include/gtest/internal/*.h $PKG/usr/include/gtest/internal/
  21. install -m 0644 LICENSE $PKG/usr/share/licenses/$isim/
  22. install -m 0644 fused-src/gtest/* $PKG/usr/src/gtest/src/
  23. install -m 0644 CMakeLists.txt $PKG/usr/src/gtest/
  24. install -m 0644 cmake/* $PKG/usr/src/gtest/cmake/
  25. }