30 lines
986 B
Plaintext
30 lines
986 B
Plaintext
# Tanım: Google Test - xUnit çerçevesine dayalı (JUnit gibi) C++ test yardımcı programı
|
||
# URL: http://code.google.com/p/googletest
|
||
# Paketçi: alihan-ozturk28@hotmail.com
|
||
# Gerekler: cmake
|
||
# Grup: sistem geliştirme
|
||
|
||
isim=gtest
|
||
surum=1.7.0
|
||
devir=1
|
||
kaynak=(http://googletest.googlecode.com/files/$isim-$surum.zip)
|
||
|
||
derle() {
|
||
cd $isim-$surum
|
||
mkdir build
|
||
cd build
|
||
|
||
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
|
||
make
|
||
|
||
cd $SRC/$isim-$surum
|
||
mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$isim,src/gtest/src,src/gtest/cmake}
|
||
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/
|
||
install -m 0644 LICENSE $PKG/usr/share/licenses/$isim/
|
||
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/
|
||
}
|