milis/talimatname/genel/g/gtest/talimat

29 lines
960 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Google Test - xUnit çerçevesine dayalı (JUnit gibi) C ++ test yardımcı programı
2016-07-22 18:56:15 +02:00
# URL: http://code.google.com/p/googletest
2017-10-27 20:46:27 +02:00
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: cmake
2016-07-22 18:56:15 +02:00
2017-10-28 14:10:23 +02:00
isim=gtest
surum=1.7.0
devir=1
kaynak=(http://googletest.googlecode.com/files/$isim-$surum.zip)
2016-07-22 18:56:15 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-07-22 18:56:15 +02:00
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
make
2017-10-28 14:10:23 +02:00
cd $SRC/$isim-$surum
mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$isim,src/gtest/src,src/gtest/cmake}
2016-07-22 18:56:15 +02:00
install -m 0644 build/libgtest{,_main}.so $PKG/usr/lib
install -m 0644 include/gtest/*.h $PKG/usr/include/gtest
install -m 0644 include/gtest/internal/*.h $PKG/usr/include/gtest/internal/
2017-10-28 14:10:23 +02:00
install -m 0644 LICENSE $PKG/usr/share/licenses/$isim/
2016-07-22 18:56:15 +02:00
install -m 0644 fused-src/gtest/* $PKG/usr/src/gtest/src/
install -m 0644 CMakeLists.txt $PKG/usr/src/gtest/
install -m 0644 cmake/* $PKG/usr/src/gtest/cmake/
}