[arch-commits] Commit in cppunit/trunk (PKGBUILD gcc4.5.patch)

Stéphane Gaudreault stephane at archlinux.org
Wed Jan 18 13:02:25 UTC 2012


    Date: Wednesday, January 18, 2012 @ 08:02:25
  Author: stephane
Revision: 146793

upgpkg: cppunit 1.12.1-4

signed rebuild, tidy-up pkgbuild, remove unneeded patch

Modified:
  cppunit/trunk/PKGBUILD
Deleted:
  cppunit/trunk/gcc4.5.patch

--------------+
 PKGBUILD     |   25 ++++++++++---------------
 gcc4.5.patch |   15 ---------------
 2 files changed, 10 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-18 11:05:48 UTC (rev 146792)
+++ PKGBUILD	2012-01-18 13:02:25 UTC (rev 146793)
@@ -4,29 +4,24 @@
 
 pkgname=cppunit
 pkgver=1.12.1
-pkgrel=3
+pkgrel=4
 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')
+options=('!libtool' '!emptydirs')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('f1ab8986af7a1ffa6760f4bacf5622924639bf4a')
 
 build() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  patch -Np1 -i ../gcc4.5.patch
-  autoreconf
-  libtoolize -f
-  ./configure --prefix=/usr
-  make
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   export LDFLAGS+=" -ldl"
+   ./configure --prefix=/usr
+   make
 }
 
 package() {
-  cd "${srcdir}/$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   make DESTDIR="${pkgdir}" install
 }

Deleted: gcc4.5.patch
===================================================================
--- gcc4.5.patch	2012-01-18 11:05:48 UTC (rev 146792)
+++ gcc4.5.patch	2012-01-18 13:02:25 UTC (rev 146793)
@@ -1,15 +0,0 @@
---- 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