core/elfutils/PKGBUILD

39 lines
1013 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=elfutils
2014-05-22 23:08:28 +08:00
pkgver=0.159
pkgrel=1
2012-08-14 17:55:32 +08:00
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information."
arch=('x86_64')
url="https://fedorahosted.org/elfutils/"
license=('GPL2')
depends=('glibc')
provides=('libelf')
replaces=('libelf')
conflicts=('libelf')
2012-08-14 17:55:32 +08:00
source=("https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2")
2014-05-22 23:08:28 +08:00
md5sums=('1f45a18231c782ccd0966059e2e42ea9')
2012-08-14 17:55:32 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# make check requires that we have dwarf information; it should be stripped away later
CFLAGS+=" -g" # required for test-suite success
./configure --prefix=/usr --program-prefix="eu-"
make
2012-08-14 17:55:32 +08:00
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
2012-08-14 17:55:32 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="${pkgdir}"
}
2012-08-14 17:55:32 +08:00
# vim:set ts=2 sw=2 et: