[arch-commits] Commit in elfutils/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 16:01:58 UTC 2015


    Date: Saturday, December 5, 2015 @ 17:01:58
  Author: bpiotrowski
Revision: 252458

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  elfutils/repos/staging-i686/
  elfutils/repos/staging-i686/PKGBUILD
    (from rev 252457, elfutils/trunk/PKGBUILD)
  elfutils/repos/staging-x86_64/
  elfutils/repos/staging-x86_64/PKGBUILD
    (from rev 252457, elfutils/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

Copied: elfutils/repos/staging-i686/PKGBUILD (from rev 252457, elfutils/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-05 16:01:58 UTC (rev 252458)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgbase=elfutils
+pkgname=(elfutils libelf)
+pkgver=0.164
+pkgrel=2
+pkgdesc="Utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
+options=('staticlibs')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
+sha1sums=('55a951f909267db76d506f61752508a86589aa37'
+          'SKIP')
+validpgpkeys=('47CC0331081B8BC6D0FD4DA08370665B57816A6A')  # Mark J. Wielaard <mark at klomp.org>
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  CFLAGS+=" -g"  # required for test-suite success
+  ./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives
+
+  make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+
+  make check
+}
+
+package_elfutils() {
+  depends=("libelf=$pkgver-$pkgrel")
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  mkdir "${srcdir}"/libelf
+  mv "${pkgdir}"/usr/{lib,include} "${srcdir}/libelf"
+}
+
+package_libelf() {
+  pkgdesc="Libraries to handle ELF object files and DWARF debugging information"
+  mv libelf "${pkgdir}/usr"
+}

Copied: elfutils/repos/staging-x86_64/PKGBUILD (from rev 252457, elfutils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-05 16:01:58 UTC (rev 252458)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgbase=elfutils
+pkgname=(elfutils libelf)
+pkgver=0.164
+pkgrel=2
+pkgdesc="Utilities to handle ELF object files and DWARF debugging information"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/elfutils/"
+license=('LGPL3' 'GPL' 'GPL3')
+depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
+options=('staticlibs')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
+sha1sums=('55a951f909267db76d506f61752508a86589aa37'
+          'SKIP')
+validpgpkeys=('47CC0331081B8BC6D0FD4DA08370665B57816A6A')  # Mark J. Wielaard <mark at klomp.org>
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  CFLAGS+=" -g"  # required for test-suite success
+  ./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives
+
+  make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+
+  make check
+}
+
+package_elfutils() {
+  depends=("libelf=$pkgver-$pkgrel")
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  mkdir "${srcdir}"/libelf
+  mv "${pkgdir}"/usr/{lib,include} "${srcdir}/libelf"
+}
+
+package_libelf() {
+  pkgdesc="Libraries to handle ELF object files and DWARF debugging information"
+  mv libelf "${pkgdir}/usr"
+}



More information about the arch-commits mailing list