elfutils: move pkg-config files to -devel pkg.

Closes #13974.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-04-30 08:56:18 -03:00 committed by Enno Boland
parent 3390993661
commit 496ae8c25a
1 changed files with 5 additions and 3 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'elfutils' # Template file for 'elfutils'
pkgname=elfutils pkgname=elfutils
version=0.170 version=0.170
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--program-prefix=eu-" configure_args="--program-prefix=eu-"
hostmakedepends="automake libtool" hostmakedepends="automake libtool"
makedepends="zlib-devel bzip2-devel liblzma-devel" makedepends="bzip2-devel liblzma-devel zlib-devel"
short_desc="Utilities to handle ELF object files" short_desc="Utilities to handle ELF object files"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3" license="GPL-3.0-or-later"
homepage="https://sourceware.org/elfutils/" homepage="https://sourceware.org/elfutils/"
distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2" distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2"
checksum=1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066 checksum=1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066
@ -42,11 +42,13 @@ libelf_package() {
vmove usr/lib/elfutils vmove usr/lib/elfutils
} }
} }
elfutils-devel_package() { elfutils-devel_package() {
depends="libelf>=${version}_${revision}" depends="libelf>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
} }
} }