milis/talimatname/genel/gtest/talimat

29 lines
977 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Google Test - xUnit çerçevesine dayalı (JUnit gibi) C ++ test yardımcı programı
# URL: http://code.google.com/p/googletest
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake
name=gtest
version=1.7.0
release=1
source=(http://googletest.googlecode.com/files/$name-$version.zip)
build() {
cd $name-$version
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
make
cd $SRC/$name-$version
mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$name,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/$name/
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/
}