diff options
author | root <root@rshg054.dnsready.net> | 2012-09-09 00:11:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-09 00:11:39 +0000 |
commit | dda96ce532ef99400e2b7703a0f538771b36b624 (patch) | |
tree | bcffb5a34db2fb09c3ca6eb1dfe557292566ddb6 /testing/elfutils/PKGBUILD | |
parent | c85b504e8916411d424cd3fc654ff879237d529e (diff) |
Sun Sep 9 00:11:39 UTC 2012
Diffstat (limited to 'testing/elfutils/PKGBUILD')
-rw-r--r-- | testing/elfutils/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/elfutils/PKGBUILD b/testing/elfutils/PKGBUILD new file mode 100644 index 000000000..d368534a4 --- /dev/null +++ b/testing/elfutils/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 166408 2012-09-07 16:52:26Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> + +pkgname=elfutils +pkgver=0.155 +pkgrel=1 +pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information" +arch=('i686' 'x86_64') +url="https://fedorahosted.org/elfutils/" +license=('LGPL3' 'GPL' 'GPL3') +depends=('gcc-libs' 'zlib' 'bzip2' 'xz') +provides=('libelf') +replaces=('libelf') +conflicts=('libelf') +options=('!makeflags') +source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} + elfutils-0.155-binutils-pr-ld-13621.patch) +sha1sums=('1b96084cd9fe037c1c0bd2c280aaa701f913462b' + 'fcd0ebd029b305bf030983daf151a2a1ab5294af' + '8a8be7c0686c6311c1ce969ba10494e704ead48c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + CFLAGS+=" -g" # required for test-suite success + patch -Np1 -i ../elfutils-0.155-binutils-pr-ld-13621.patch + ./configure --prefix=/usr --program-prefix="eu-" + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |