SUMMARY="A lightweight unit testing framework for C++" DESCRIPTION="UnitTest++ was designed to do test-driven development on a wide \ variety of platforms. Simplicity, portability, speed, and small footprint \ are all very important aspects of UnitTest++. UnitTest++ is mostly standard \ C++ and makes minimal use of advanced library and language features, which \ means it should be easily portable to just about any platform." HOMEPAGE="http://unittest-cpp.github.io" COPYRIGHT="2006 Noel Llopis and Charles Nicholson" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/unittest-cpp/unittest-cpp/archive/v$portVersion.tar.gz" SOURCE_FILENAME="unittest-cpp-$portVersion.tar.gz" CHECKSUM_SHA256="1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45" SOURCE_DIR="unittest-cpp-$portVersion" PATCHES="unittest++-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86 x86_gcc2" PROVIDES=" unittest++$secondaryArchSuffix = $portVersion lib:libunittest++$secondaryArchSuffix = $portVersion compat >= 1 " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" unittest++${secondaryArchSuffix}_devel = $portVersion devel:libunittest++$secondaryArchSuffix = $portVersion compat >= 1 " REQUIRES_devel=" unittest++$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:cmake cmd:gcc$secondaryArchSuffix cmd:make " BUILD() { cmake -DCMAKE_INSTALL_PREFIX=$prefix . make $jobArgs } INSTALL() { make install mkdir -p $includeDir mv $prefix/include/UnitTest++ $includeDir/ rmdir $prefix/include if [ -n "$secondaryArchSuffix" ]; then mkdir -p $libDir mv $prefix/lib/lib* $prefix/lib/cmake $libDir/ fi prepareInstalledDevelLibs libUnitTest++ packageEntries devel $relativeDevelopDir } TEST() { ./TestUnitTest++ }