summaryrefslogtreecommitdiff
path: root/community/cppunit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cppunit/PKGBUILD')
-rw-r--r--community/cppunit/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/cppunit/PKGBUILD b/community/cppunit/PKGBUILD
new file mode 100644
index 000000000..609ddf766
--- /dev/null
+++ b/community/cppunit/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 16187 2010-04-26 10:05:11Z andrea $
+# Maintainer:
+# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
+
+pkgname=cppunit
+pkgver=1.12.1
+pkgrel=2
+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 ${srcdir}/gcc4.5.patch
+ autoreconf
+ libtoolize -f
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install || return 1
+}