38 lines
872 B
Plaintext
38 lines
872 B
Plaintext
# Template file for 'elfutils'
|
|
pkgname=elfutils
|
|
version=0.156
|
|
revision=2
|
|
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=d2f54dd17a270ca947f831b083a6cde06e8b4fbb230cf87d23afa1530d20a4c2
|
|
|
|
libelf_package() {
|
|
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+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|
|
|
|
elfutils_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|