[arch-commits] Commit in (4 files)

Laurent Carlier lcarlier at archlinux.org
Fri Oct 21 13:31:05 UTC 2016


    Date: Friday, October 21, 2016 @ 13:31:04
  Author: lcarlier
Revision: 192866

use the same name as core package

Added:
  lib32-libelf/
  lib32-libelf/repos/
  lib32-libelf/trunk/
  lib32-libelf/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Added: lib32-libelf/trunk/PKGBUILD
===================================================================
--- lib32-libelf/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libelf/trunk/PKGBUILD	2016-10-21 13:31:04 UTC (rev 192866)
@@ -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}
+}


Property changes on: lib32-libelf/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list