diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:17:14 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:17:14 (GMT) |
commit | 59ed8aa2a08a519c1f30dd7c9f5f1c56207a86a5 (patch) | |
tree | c06fbc0650e68e87ffd275abb7790d4db7d73528 | |
parent | 781b5ff860c3db1c871460f1c601a65ea1c46d52 (diff) | |
download | linhes_pkgbuild-59ed8aa2a08a519c1f30dd7c9f5f1c56207a86a5.zip linhes_pkgbuild-59ed8aa2a08a519c1f30dd7c9f5f1c56207a86a5.tar.gz linhes_pkgbuild-59ed8aa2a08a519c1f30dd7c9f5f1c56207a86a5.tar.bz2 |
elfutils .154
-rw-r--r-- | abs/core/elfutils/PKGBUILD | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/abs/core/elfutils/PKGBUILD b/abs/core/elfutils/PKGBUILD index 9bf4739..8cbee1e 100644 --- a/abs/core/elfutils/PKGBUILD +++ b/abs/core/elfutils/PKGBUILD @@ -1,32 +1,39 @@ -# $Id: PKGBUILD 96834 2010-10-25 06:15:37Z pierre $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id: PKGBUILD 163718 2012-07-18 03:05:26Z eric $ +# Maintainer: # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> pkgname=elfutils -pkgver=0.149 -pkgrel=2 +pkgver=0.154 +pkgrel=1 pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information" arch=('i686' 'x86_64') url="https://fedorahosted.org/elfutils/" -license=('GPL2') -depends=('glibc') -#optdepends=('zlib' 'xz' 'bzip2') +license=('LGPL3' 'GPL' 'GPL3') +depends=('gcc-libs' 'zlib' 'bzip2' 'xz') provides=('libelf') replaces=('libelf') conflicts=('libelf') -source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2) -md5sums=('8690cfcde541c83c0549623ea33c75f6') +options=('!makeflags') +source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig} \ + elfutils-0.154-binutils-pr-ld-13621.patch) +sha1sums=('3a92a6f636cc3d14d4b3b00ba5c1e88a2a8d510b' + '956461d44b03823e0b448e78b1f4aa25ef269e1e' + '09681b728edb86c77eed47286554bef048f3507f') -build() -{ - cd ${srcdir}/${pkgname}-${pkgver} +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + CFLAGS+=" -g" # required for test-suite success + patch -p1 -i "${srcdir}/elfutils-0.154-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 +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |