diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-09 16:53:27 +0000 |
commit | 80208fb578cf92cc308906660ca6d7860c6b2a1f (patch) | |
tree | 6f06818031b553c506fc10dfe9908a835df288aa /dev-libs/libconfig/libconfig-1.7.2.ebuild | |
parent | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff) |
gentoo resync : 09.03.2018
Diffstat (limited to 'dev-libs/libconfig/libconfig-1.7.2.ebuild')
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libconfig/libconfig-1.7.2.ebuild b/dev-libs/libconfig/libconfig-1.7.2.ebuild new file mode 100644 index 000000000000..d251907bc88d --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.7.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" +IUSE="+cxx static-libs" + +DEPEND=" + sys-devel/libtool + sys-devel/bison +" + +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 + + prune_libtool_files +} |