summaryrefslogtreecommitdiffstats
path: root/abs/core/elfutils/PKGBUILD
blob: 9bf4739dde630fa5c45bee56850bdc1862025227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 96834 2010-10-25 06:15:37Z pierre $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>

pkgname=elfutils
pkgver=0.149
pkgrel=2
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
arch=('i686' 'x86_64')
url="https://fedorahosted.org/elfutils/"
license=('GPL2')
depends=('glibc')
#optdepends=('zlib' 'xz' 'bzip2')
provides=('libelf')
replaces=('libelf')
conflicts=('libelf')
source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
md5sums=('8690cfcde541c83c0549623ea33c75f6')

build()
{
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --program-prefix="eu-"
  make
  make check
}

package()
{
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}