commit: ebe40f65ccf0618947fe31b55c7a1ac5e4748716 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sun Mar 19 10:45:39 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Mar 19 10:53:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe40f65
app-crypt/mhash: generate a pck-config file Closes: https://bugs.gentoo.org/895562 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> app-crypt/mhash/files/mhash.pc | 4 ++++ .../mhash/{mhash-0.9.9.9-r2.ebuild => mhash-0.9.9.9-r3.ebuild} | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app-crypt/mhash/files/mhash.pc b/app-crypt/mhash/files/mhash.pc new file mode 100644 index 000000000000..6186f85c7839 --- /dev/null +++ b/app-crypt/mhash/files/mhash.pc @@ -0,0 +1,4 @@ +Libs:-lmhash +Name: mhash +Version: @VERSION@ +Description: provides a uniform interface to several hash algorithms diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild similarity index 89% rename from app-crypt/mhash/mhash-0.9.9.9-r2.ebuild rename to app-crypt/mhash/mhash-0.9.9.9-r3.ebuild index e31cbe8e8e25..d8cba554e436 100644 --- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild +++ b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -39,6 +39,10 @@ src_prepare() { -e 's/--netscape//' \ "${S}"/doc/Makefile.in || die + sed \ + -e "s:@VERSION@:${PV}:" \ + "${FILESDIR}"/${PN}.pc > ${PN}.pc || die + # Refresh bundled libtool (ltmain.sh) # (elibtoolize is not sufficient) # bug #668666 @@ -57,5 +61,7 @@ src_compile() { src_install() { default + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc find "${ED}" -name '*.la' -delete || die }
