🔒 Repository is read-only – file editing is disabled.

recipes/core/elfutils/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: elfutils
pkgver: '0.196'
pkgrel: '1'
pkgdesc: Set of utilities and libraries for handling elf files.
url: 'https://xiph.org/ao/'
arch: x86_64
license:
- GPL2 GPL3 LGPL3
depends: []
makedepends:
- libelf
- zlib
- bzip2
- xz
source:
- 'https://sourceware.org/elfutils/ftp/${pkgver}/elfutils-${pkgver}.tar.bz2'
sha256sums:
- fd5cc6b77ad6773cac93cb3f415f9318ac3b3455eecf801f6b4a742c4f6c7209
build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr \
  --disable-debuginfod \
  --enable-libdebuginfod=dummy \
  --program-prefix="eu-"

  make
  make prefix=${PKGDIR}/usr install

  # Already present in libelf
  rm -r "${PKGDIR}"/usr/include/elfutils/elf-knowledge.h
  rm -r "${PKGDIR}"/usr/include/gelf.h
  rm -r "${PKGDIR}"/usr/include/libelf.h
  rm -r "${PKGDIR}"/usr/include/nlist.h
  rm -f ${PKGDIR}/usr/lib/pkgconfig/libelf.pc
  rm -f "${PKGDIR}"/usr/lib/libelf*

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
  install -Dm644 COPYING-GPLV2 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-GPLV2
  install -Dm644 COPYING-LGPLV3 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-LGPLV3
package: |
  true