1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: TryA <tryagainprod {at} gmail.com>
3 # Contributor: Allan McRae <allan@archlinux.org>
4 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
10 pkgdesc="Collection of libraries for working with ELF object files and DWARF debugging information (32-bit)"
12 url="https://fedorahosted.org/elfutils/"
14 depends=('lib32-bzip2' 'lib32-zlib')
15 makedepends=('gcc-multilib')
16 provides=('lib32-libelf')
17 replaces=('lib32-libelf')
18 conflicts=('lib32-libelf')
19 source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
20 md5sums=('39739ed58a0fa1862eff8735f111fe5c')
23 export CC="${CC:-gcc} -m32"
24 export CXX="${CXX:-g++} -m32"
25 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
27 cd ${srcdir}/${_pkgbasename}-${pkgver}
28 ./configure --prefix=/usr --libdir=/usr/lib32
33 cd ${srcdir}/${_pkgbasename}-${pkgver}
38 cd ${srcdir}/${_pkgbasename}-${pkgver}
39 make DESTDIR=${pkgdir} install
40 rm -rf ${pkgdir}/usr/{bin,include,share}