commit: 649691050d9978218fa6899cf3637ec1710a17ff Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 20 17:18:27 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 20 18:43:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64969105
dev-libs/libconfig: add 1.7.3 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libconfig/Manifest | 1 + dev-libs/libconfig/libconfig-1.7.3.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-libs/libconfig/Manifest b/dev-libs/libconfig/Manifest index 87da50b902f..7edd5b65cf0 100644 --- a/dev-libs/libconfig/Manifest +++ b/dev-libs/libconfig/Manifest @@ -1 +1,2 @@ DIST libconfig-1.7.2.tar.gz 3017891 BLAKE2B 1b8bc54857feff506d5cd62312a35f0f8a123380567881bdb8241f2232c5281399e4283687a3254b8f43a92b8f7d5ff3f72ec4fd875bf1b9d5d6c7703014cc3c SHA512 9df57355c2d08381b4a0a6366f0db3633fbe8f73c2bb8c370c040b0bae96ce89ee4ac6c17a5a247fed855d890fa383e5b70cb5573fc9cfc62194d5b94e161cee +DIST libconfig-1.7.3.tar.gz 3026416 BLAKE2B 94301be4d6e472fc9daeac7a04074855737ddda94bb5748cd0087fafe192cf674ea1c020808ebf855372188b6b27a57ed185323fa26988bb1fccde0566617cba SHA512 3749bf9eb29bab0f6b14f4fc759f0c419ed27a843842aaabed1ec1fbe0faa8c93322ff875ca1291d69cb28a39ece86d512aec42c2140d566c38c56dc616734f4 diff --git a/dev-libs/libconfig/libconfig-1.7.3.ebuild b/dev-libs/libconfig/libconfig-1.7.3.ebuild new file mode 100644 index 00000000000..a8f84e82f15 --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.7.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files" +HOMEPAGE=" + http://www.hyperrealm.com/libconfig/libconfig.html + https://github.com/hyperrealm/libconfig +" +SRC_URI="https://github.com/hyperrealm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/11" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+cxx static-libs" + +DEPEND=" + sys-apps/texinfo + sys-devel/bison + sys-devel/libtool +" + +src_prepare() { + default + sed -i \ + -e '/sleep 3/d' \ + configure.ac || die + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable cxx) \ + $(use_enable static-libs static) \ + --disable-examples +} + +multilib_src_test() { + # It responds to check but that does not work as intended + emake test +} + +multilib_src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}
