[arch-commits] Commit in lib32-libelf/repos (2 files)
Laurent Carlier
lcarlier at archlinux.org
Fri Oct 21 13:34:12 UTC 2016
Date: Friday, October 21, 2016 @ 13:34:12
Author: lcarlier
Revision: 192869
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-libelf/repos/multilib-testing-x86_64/
lib32-libelf/repos/multilib-testing-x86_64/PKGBUILD
(from rev 192868, lib32-libelf/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: lib32-libelf/repos/multilib-testing-x86_64/PKGBUILD (from rev 192868, lib32-libelf/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2016-10-21 13:34:12 UTC (rev 192869)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+_pkgbasename=elfutils
+pkgname=lib32-libelf
+pkgver=0.167
+pkgrel=1
+pkgdesc="Libraries to handle ELF object files and DWARF debugging information (32-bit)"
+arch=('x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('lib32-bzip2' 'lib32-zlib' 'libelf')
+makedepends=('gcc-multilib')
+provides=('lib32-elfutils')
+conflicts=('lib32-elfutils')
+replaces=('lib32-elfutils')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
+options=('staticlibs')
+sha1sums=('91cec7fec0031758cc0c842a87ee8c5faa4d8107'
+ 'SKIP')
+validpgpkeys=('47CC0331081B8BC6D0FD4DA08370665B57816A6A') # Mark J. Wielaard <mark at klomp.org>
+
+build() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+ CFLAGS+=" -g" # required for test-suite success
+
+ ./configure --prefix=/usr --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/usr/{bin,include,share}
+}
More information about the arch-commits
mailing list