diff options
author | root <root@rshg047.dnsready.net> | 2011-06-04 22:48:12 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-04 22:48:12 +0000 |
commit | 80ba845c7cb571644d9dea61b9872c393d128c37 (patch) | |
tree | 064ee49a661ab3bdfaef029661561fd60bd1354c /extra/cppunit | |
parent | 805d577f46f94e747f712b7c942f595cd8f7e170 (diff) |
Sat Jun 4 22:48:12 UTC 2011
Diffstat (limited to 'extra/cppunit')
-rw-r--r-- | extra/cppunit/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/cppunit/gcc4.5.patch | 15 |
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/cppunit/PKGBUILD b/extra/cppunit/PKGBUILD new file mode 100644 index 000000000..b7dd30d27 --- /dev/null +++ b/extra/cppunit/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 126261 2011-06-03 13:02:27Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> + +pkgname=cppunit +pkgver=1.12.1 +pkgrel=3 +pkgdesc="A C++ unit testing framework" +arch=('i686' 'x86_64') +url="http://cppunit.sourceforge.net" +license=('LGPL') +depends=('sh' 'gcc-libs') +makedepends=('gcc') +options=('!libtool') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'gcc4.5.patch') +md5sums=('bd30e9cf5523cdfc019b94f5e1d7fd19' + '7f4e3b50fa1ee8bc854ab431848dddec') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + patch -Np1 -i ../gcc4.5.patch + autoreconf + libtoolize -f + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install +} diff --git a/extra/cppunit/gcc4.5.patch b/extra/cppunit/gcc4.5.patch new file mode 100644 index 000000000..86d4a424d --- /dev/null +++ b/extra/cppunit/gcc4.5.patch @@ -0,0 +1,15 @@ +--- cppunit-1.12.1.orig/src/cppunit/Makefile.am ++++ cppunit-1.12.1/src/cppunit/Makefile.am +@@ -63,5 +63,11 @@ + + libcppunit_la_LDFLAGS= \ + -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ +- -release $(LT_RELEASE) ++ -release $(LT_RELEASE) @LIBADD_DL@ + ++TESTS = t_link ++ ++check_PROGRAMS = t_link ++ ++t_link_SOURCES = t_link.cpp ++t_link_LDADD = libcppunit.la |