2012-10-15 15:04:42 +02:00
|
|
|
# Template file for 'elfutils'
|
|
|
|
pkgname=elfutils
|
|
|
|
version=0.155
|
2013-03-28 06:13:31 +01:00
|
|
|
revision=2
|
2012-10-15 15:04:42 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--program-prefix=eu-"
|
|
|
|
makedepends="liblzma-devel"
|
|
|
|
short_desc="Utilities to handle ELF object files"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://fedorahosted.org/elfutils/"
|
|
|
|
distfiles="https://fedorahosted.org/releases/e/l/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8
|
2013-04-12 10:23:11 +02:00
|
|
|
|
|
|
|
libelf_package() {
|
|
|
|
short_desc="${short_desc} -- runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
vmove usr/lib/elfutils
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
elfutils-devel_package() {
|
|
|
|
replaces="libelf-devel>=0"
|
|
|
|
depends="libelf-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
elfutils_package() {
|
|
|
|
pkg_install() {
|
2013-04-12 13:13:49 +02:00
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|