core/elfutils/PKGBUILD

36 lines
952 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
2015-01-30 17:43:10 +08:00
pkgver=0.161
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')
2012-08-14 17:55:32 +08:00
source=("https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2")
2015-01-30 17:43:10 +08:00
md5sums=('e1b9847c9a6a1ad340de8d47a863ec52')
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: