void-packages/srcpkgs/elfutils/template

31 lines
832 B
Text
Raw Normal View History

# Template file for 'elfutils'
pkgname=elfutils
2014-10-30 06:32:30 +00:00
version=0.160
2014-02-12 17:51:49 +00:00
revision=1
build_style=gnu-configure
configure_args="--program-prefix=eu-"
2014-10-30 06:32:30 +00:00
hostmakedepends="m4"
2013-10-27 07:24:13 +00:00
makedepends="zlib-devel bzip2-devel 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"
2014-10-30 06:32:30 +00:00
checksum=741b556863c069ceab2d81eb54aeda8c34f46728859704eaf9baef8503e9a9d1
libelf_package() {
2013-09-20 14:06:31 +00:00
short_desc+=" - runtime library"
pkg_install() {
2013-09-25 09:03:24 +00:00
vmove "usr/lib/*.so*"
vmove usr/lib/elfutils
}
}
elfutils-devel_package() {
2014-02-12 17:51:49 +00:00
depends="libelf>=${version}_${revision}"
2013-09-20 14:06:31 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}