summaryrefslogtreecommitdiffstats
path: root/abs/extra/valgrind/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-11-24 21:32:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-11-24 21:32:48 (GMT)
commit723e4980c0168ec25178b3e15a1eddd9ef81e4ba (patch)
treef2842c116b970782481422abb249a757e5d425bb /abs/extra/valgrind/PKGBUILD
parent25e62bb579b3e9d6ea89df3809d2b669f2789390 (diff)
downloadlinhes_pkgbuild-723e4980c0168ec25178b3e15a1eddd9ef81e4ba.zip
linhes_pkgbuild-723e4980c0168ec25178b3e15a1eddd9ef81e4ba.tar.gz
linhes_pkgbuild-723e4980c0168ec25178b3e15a1eddd9ef81e4ba.tar.bz2
valgrind: update to 3.10.0
Diffstat (limited to 'abs/extra/valgrind/PKGBUILD')
-rw-r--r--abs/extra/valgrind/PKGBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/abs/extra/valgrind/PKGBUILD b/abs/extra/valgrind/PKGBUILD
index 1e65355..61c9997 100644
--- a/abs/extra/valgrind/PKGBUILD
+++ b/abs/extra/valgrind/PKGBUILD
@@ -3,32 +3,33 @@
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=valgrind
-pkgver=3.9.0
+pkgver=3.10.0
pkgrel=1
-pkgdesc="A tool to help find memory-management problems in programs"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://valgrind.org/"
-depends=('glibc>=2.18' 'glibc<2.19' 'perl')
-makedepends=('gdb')
+pkgdesc='A tool to help find memory-management problems in programs'
+arch=(i686 x86_64)
+license=(GPL)
+url='http://valgrind.org/'
+depends=('glibc>=2.20' 'glibc<2.21' 'perl')
+makedepends=('gdb' 'openmpi')
+optdepends=('openmpi: MPI support')
options=('staticlibs' '!emptydirs')
-source=(http://valgrind.org/downloads/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('0947de8112f946b9ce64764af7be6df2')
+source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2
+ valgrind-3.9.0-glibc-2.20.patch)
+sha1sums=('aec0b8cd042ec36c8cce4f6027b98627ab202f26'
+ '2080c3d44de20857f18b03a93404a8f3d3721f7e')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i "$srcdir"/valgrind-3.9.0-glibc-2.20.patch
+}
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- if [[ ${CARCH} = "x86_64" ]]; then
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-only64bit
- else
- ./configure --prefix=/usr --mandir=/usr/share/man
- fi
-
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}