summaryrefslogtreecommitdiff
path: root/extra/cppunit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cppunit/PKGBUILD')
-rw-r--r--extra/cppunit/PKGBUILD32
1 files changed, 32 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
+}