30 lines
835 B
Bash
30 lines
835 B
Bash
# Template file for 'elfutils'
|
|
pkgname=elfutils
|
|
version=0.160
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--program-prefix=eu-"
|
|
hostmakedepends="m4"
|
|
makedepends="zlib-devel bzip2-devel liblzma-devel"
|
|
short_desc="Utilities to handle ELF object files"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="https://fedorahosted.org/elfutils/"
|
|
distfiles="https://fedorahosted.org/releases/e/l/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
|
checksum=741b556863c069ceab2d81eb54aeda8c34f46728859704eaf9baef8503e9a9d1
|
|
|
|
libelf_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so*"
|
|
vmove usr/lib/elfutils
|
|
}
|
|
}
|
|
elfutils-devel_package() {
|
|
depends="libelf>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|