diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
commit | 61f10f985e19dfe20a4d9552902625edd5b6eabb (patch) | |
tree | 50db31971b38c4e0358253ef5005058a46fc773e /dev-libs/libconfig/libconfig-1.7.3.ebuild | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'dev-libs/libconfig/libconfig-1.7.3.ebuild')
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
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 000000000000..a8f84e82f152 --- /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 +} |