diff --git a/cxxtest/build.sh b/cxxtest/build.sh new file mode 100644 index 000000000..c4a65edb8 --- /dev/null +++ b/cxxtest/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +MYBINDIR="${PREFIX}/bin" +MYSUFFIXDIR="lib/${PKG_NAME}-${PKG_VERSION}" +MYTARGETDIR="${PREFIX}/${MYSUFFIXDIR}" + +mkdir -p "${MYBINDIR}" +mkdir -p "${MYTARGETDIR}" +cp -r ./ "${MYTARGETDIR}/" +ln -s "../${MYSUFFIXDIR}/bin/cxxtestgen" "${MYBINDIR}/" diff --git a/cxxtest/meta.yaml b/cxxtest/meta.yaml new file mode 100644 index 000000000..85c78d063 --- /dev/null +++ b/cxxtest/meta.yaml @@ -0,0 +1,26 @@ +package: + name: cxxtest + version: "4.4" + +source: + fn: cxxtest-4.4.tar.gz + url: https://github.com/CxxTest/cxxtest/releases/download/4.4/cxxtest-4.4.tar.gz + sha256: 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 + +build: + number: 0 + +requirements: + run: + - python + +test: + commands: + # You can put test commands to be run here. Use this to test that the + # entry points work. + - cxxtestgen --version | fgrep -q "CxxTest version ${PKG_VERSION}." + +about: + home: http://cxxtest.com/ + license: GPL 3 + summary: "CxxTest Unit Testing Framework."