elfutils: fix vmove for libdebuginfod.

Applications linked against libdebuginfod will be linked against its
soname, which is a symlink that was ending up in the libelf subpackage.
This commit is contained in:
Érico Rolim 2020-11-19 23:43:25 -03:00
parent 751dd0bb7f
commit 76f5fe608c

View file

@ -1,7 +1,7 @@
# Template file for 'elfutils'
pkgname=elfutils
version=0.182
revision=3
revision=4
build_style=gnu-configure
configure_args="--program-prefix=eu-"
hostmakedepends="automake libtool pkg-config"
@ -14,6 +14,8 @@ license="GPL-3.0-or-later"
homepage="https://sourceware.org/elfutils/"
distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2"
checksum=ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858
# subpackages require explicit ordering
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
CFLAGS="-Wno-error"
CXXFLAGS="-Wl,-z,stack-size=2097152"
@ -38,7 +40,7 @@ pre_configure() {
libdebuginfod_package() {
short_desc+=" - debuginfod library"
pkg_install() {
vmove "usr/lib/libdebuginfod-*.so*"
vmove "usr/lib/libdebuginfod*.so*"
vmove etc/profile.d
}
}