diff options
author | Jorge Araya Navarro <jorgean@lavabit.com> | 2013-11-30 00:13:56 -0600 |
---|---|---|
committer | Jorge Araya Navarro <jorgean@lavabit.com> | 2013-11-30 00:13:56 -0600 |
commit | fe6fbeb6a0c67d41e4ef7902e813d775d7e79cee (patch) | |
tree | 38d1dae5e8b418fdeb7845d474fa36af026839c7 /pcr | |
parent | abafecb65c64dcae1f928e2c0b9006e7fa652e65 (diff) |
adding unittestpp, a C++ unit test framework
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/unittestpp/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/unittestpp/UnitTest++.h | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pcr/unittestpp/PKGBUILD b/pcr/unittestpp/PKGBUILD new file mode 100644 index 000000000..3918f98a2 --- /dev/null +++ b/pcr/unittestpp/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> +# Contributor: Piotr Beling <qwak@w8.pl> +# Contributor: Vianney le Clément <vleclement AT gmail · com> +pkgname=unittestpp +pkgver=1.4 +pkgrel=3 +pkgdesc="A lightweight unit testing framework for C++" +arch=('i686' 'x86_64') +url="http://unittest-cpp.sourceforge.net/" +depends=('gcc-libs') +source=("http://downloads.sourceforge.net/project/unittest-cpp/UnitTest%2B%2B/$pkgver/unittest-cpp-${pkgver}.zip") +sha1sums=('dad944159e2e135aea74039987490eaaee00f2ad') +license=('MIT') + +build() { + cd "$srcdir/UnitTest++" + make all +} + +package() { + cd "$srcdir/UnitTest++" + + install -dm755 "$pkgdir/usr/include/unittest++/Posix" + install -m644 src/*.h "$pkgdir/usr/include/unittest++" + install -m644 src/Posix/*.h "$pkgdir/usr/include/unittest++/Posix" + + install -dm755 "$pkgdir/usr/lib" + install -m644 libUnitTest++.a "$pkgdir/usr/lib" + + install -dm755 "$pkgdir/usr/share/licenses/unittest++" + install -m644 COPYING "$pkgdir/usr/share/licenses/unittest++/LICENSE" + install -dm755 "$pkgdir/usr/share/doc/unittest++" + install -m644 README "$pkgdir/usr/share/doc/unittest++/README" + install -m644 docs/UnitTest++.html "$pkgdir/usr/share/doc/unittest++/UnitTest++.html" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/unittestpp/UnitTest++.h b/pcr/unittestpp/UnitTest++.h new file mode 100644 index 000000000..6c0771a0d --- /dev/null +++ b/pcr/unittestpp/UnitTest++.h @@ -0,0 +1 @@ +#include "UnitTest++/UnitTest++.h" |