[arch-commits] Commit in (5 files)
Stéphane Gaudreault
stephane at archlinux.org
Fri Jun 3 13:02:27 UTC 2011
Date: Friday, June 3, 2011 @ 09:02:27
Author: stephane
Revision: 126261
Initial commit
Added:
cppunit/
cppunit/repos/
cppunit/trunk/
cppunit/trunk/PKGBUILD
cppunit/trunk/gcc4.5.patch
--------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gcc4.5.patch | 15 +++++++++++++++
2 files changed, 47 insertions(+)
Added: cppunit/trunk/PKGBUILD
===================================================================
--- cppunit/trunk/PKGBUILD (rev 0)
+++ cppunit/trunk/PKGBUILD 2011-06-03 13:02:27 UTC (rev 126261)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff at 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
+}
Property changes on: cppunit/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: cppunit/trunk/gcc4.5.patch
===================================================================
--- cppunit/trunk/gcc4.5.patch (rev 0)
+++ cppunit/trunk/gcc4.5.patch 2011-06-03 13:02:27 UTC (rev 126261)
@@ -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
More information about the arch-commits
mailing list