diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-30 10:47:12 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-30 10:47:12 -0200 |
commit | 571cf511784558c6edad7fb19ce3887cc5eecc0e (patch) | |
tree | be8e783fc525f26e459f4cbc98fd9547633d154a | |
parent | 0492048dd0471de66358e06c5702e0896db20286 (diff) | |
parent | fe6fbeb6a0c67d41e4ef7902e813d775d7e79cee (diff) | |
download | abslibre-571cf511784558c6edad7fb19ce3887cc5eecc0e.tar.gz abslibre-571cf511784558c6edad7fb19ce3887cc5eecc0e.tar.bz2 abslibre-571cf511784558c6edad7fb19ce3887cc5eecc0e.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
-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" |