[arch-commits] Commit in valgrind/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Nov 26 22:06:40 UTC 2017
Date: Sunday, November 26, 2017 @ 22:06:40
Author: bpiotrowski
Revision: 310974
archrelease: copy trunk to testing-x86_64
Added:
valgrind/repos/testing-x86_64/
valgrind/repos/testing-x86_64/PKGBUILD
(from rev 310973, valgrind/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: valgrind/repos/testing-x86_64/PKGBUILD (from rev 310973, valgrind/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-11-26 22:06:40 UTC (rev 310974)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=valgrind
+pkgver=3.13.0
+pkgrel=4
+pkgdesc='A tool to help find memory-management problems in programs'
+arch=(x86_64)
+license=(GPL)
+url='http://valgrind.org/'
+depends=('glibc=2.26' 'lib32-glibc=2.26' perl)
+makedepends=(gdb openmpi)
+optdepends=('openmpi: MPI support')
+provides=($pkgname-multilib)
+replaces=($pkgname-multilib)
+options=(!emptydirs)
+source=("https://ftp.gwdg.de/pub/linux/sources.redhat.com/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('817dd08f1e8a66336b9ff206400a5369')
+sha512sums=('34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009')
+
+build() {
+ # valgrind does not like stack protector flags
+ CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+ CFLAGS=${CFLAGS/-fstack-protector-strong/}
+ CXXFLAGS=${CXXFLAGS/-fstack-protector-strong/}
+
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list