2012-10-15 15:04:42 +02:00
|
|
|
# Template file for 'elfutils'
|
|
|
|
pkgname=elfutils
|
2013-09-20 16:06:31 +02:00
|
|
|
version=0.156
|
2013-09-25 11:03:24 +02:00
|
|
|
revision=2
|
2012-10-15 15:04:42 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--program-prefix=eu-"
|
2013-10-27 08:24:13 +01:00
|
|
|
makedepends="zlib-devel bzip2-devel liblzma-devel"
|
2012-10-15 15:04:42 +02:00
|
|
|
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"
|
2013-09-20 16:06:31 +02:00
|
|
|
checksum=d2f54dd17a270ca947f831b083a6cde06e8b4fbb230cf87d23afa1530d20a4c2
|
2013-04-12 10:23:11 +02:00
|
|
|
|
|
|
|
libelf_package() {
|
2013-09-20 16:06:31 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 10:23:11 +02:00
|
|
|
pkg_install() {
|
2013-09-25 11:03:24 +02:00
|
|
|
vmove "usr/lib/*.so*"
|
2013-04-12 10:23:11 +02:00
|
|
|
vmove usr/lib/elfutils
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
elfutils-devel_package() {
|
|
|
|
replaces="libelf-devel>=0"
|
|
|
|
depends="libelf-${version}_${revision}"
|
2013-09-20 16:06:31 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 10:23:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
elfutils_package() {
|
|
|
|
pkg_install() {
|
2013-09-20 16:06:31 +02:00
|
|
|
vmove all
|
2013-04-12 10:23:11 +02:00
|
|
|
}
|
|
|
|
}
|