Date: Wednesday, August 11, 2010 @ 08:13:28 Author: allan Revision: 87238
replacement for libelf Added: elfutils/ elfutils/repos/ elfutils/trunk/ elfutils/trunk/PKGBUILD ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Added: elfutils/trunk/PKGBUILD =================================================================== --- elfutils/trunk/PKGBUILD (rev 0) +++ elfutils/trunk/PKGBUILD 2010-08-11 12:13:28 UTC (rev 87238) @@ -0,0 +1,32 @@ +# $Id: $ +# Maintainer: Allan McRae <al...@archlinux.org> +# Contributor: Andrej Gelenberg <andrej.gelenb...@udo.edu> + +pkgname=elfutils +pkgver=0.148 +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') +provides=('libelf') +replaces=('libelf') +conflicts=('libelf') +source=(https://fedorahosted.org/releases/e/l/elfutils/elfutils-${pkgver}.tar.bz2) +md5sums=('a0bed1130135f17ad27533b0034dba8d') + +build() +{ + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --program-prefix="eu-" + make + make check +} + +package() +{ + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +}