diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libconfig | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libconfig')
-rw-r--r-- | dev-libs/libconfig/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch | 11 | ||||
-rw-r--r-- | dev-libs/libconfig/libconfig-1.5.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.1.ebuild | 51 | ||||
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.2.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/libconfig/metadata.xml | 8 |
6 files changed, 178 insertions, 0 deletions
diff --git a/dev-libs/libconfig/Manifest b/dev-libs/libconfig/Manifest new file mode 100644 index 000000000000..eee135d9c0a3 --- /dev/null +++ b/dev-libs/libconfig/Manifest @@ -0,0 +1,8 @@ +AUX libconfig-1.5-out-of-source-build.patch 344 BLAKE2B 6612bc819dcba54f45899b01bfd649b34d0019d625d2f63eb0252fcc83e1e103f80463ecb24e84cb01886088bdb14dc45849be3759f4be59c09c980b81bcd40f SHA512 601909cbc50afe2ee2bf72648685af3b828effa16e5c86e0efa2820314de5cfabf9867b40b205e4d32280bbea6547d1e418cff7e7733940abdd7aa49f3764bdb +DIST libconfig-1.5.tar.gz 644432 BLAKE2B 9eaec8aca0692f30d6b51221a5d1bc624540da74f599292b1a161054dec8188b2ad2ee100a97c1e19f7b4763614206a5bf6ad03f6f7bbd33b40d57c51646e520 SHA512 16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd +DIST libconfig-1.7.1.tar.gz 2290501 BLAKE2B 6c55e0d41c1475434bcc61203bda40c478d0802ccb544866df4b7d9b69538ca1e2eab8642867b0ee7c56e26027d8fb326e470a5c9bdcbc37534fe23092be15e0 SHA512 b58b468e9e2d5175fbde1ad9765c6604dc9b3f3944613a88404a45d0d232e7d79a47321bf3c06b97cb46a2104b4313fad5c7f8944149f550b7af51ad523e775e +DIST libconfig-1.7.2.tar.gz 3017891 BLAKE2B 1b8bc54857feff506d5cd62312a35f0f8a123380567881bdb8241f2232c5281399e4283687a3254b8f43a92b8f7d5ff3f72ec4fd875bf1b9d5d6c7703014cc3c SHA512 9df57355c2d08381b4a0a6366f0db3633fbe8f73c2bb8c370c040b0bae96ce89ee4ac6c17a5a247fed855d890fa383e5b70cb5573fc9cfc62194d5b94e161cee +EBUILD libconfig-1.5.ebuild 1144 BLAKE2B cf1a4c0e4fda42ee884b36350498ae0a0442e69a994dc5d9da9d9dd274de6053f143744cff876a08d243780c0fa9b66f648e157d12adce85080dcf604445f08d SHA512 c490914f77e4b24fa2f7393703bb13d0988db80543134ca352c87aa229f3252b67bfbeac475b258aabd519672871ffbc5dcfeca034ce396a3bcf4e018d602ae2 +EBUILD libconfig-1.7.1.ebuild 1076 BLAKE2B 1b8c80e4857b37cca1f1deb67b71b600b2ce33cb57a7db19dc71e11a3decb9a38ad9ac836f8cb50da89bfda3e6b3b071b674496afa79e1d24cb0cecf97c906b6 SHA512 c35cdddd1f21754a10b37c172fff74b01fb243d9c42796af975a60fc1eb2087ef0fd1bfcf56d4740a025116f203dcf8368714ae570448ca1ab609a4f1feb4c28 +EBUILD libconfig-1.7.2.ebuild 1028 BLAKE2B bc3c4b4b9fa2d4e0ad5ec8f3e703f32507d0f0d881b0242e482462a17f80f68ada03235cc13a0f4b85724be60d1b0406a0655501ab24f03b66eab13624acf482 SHA512 fff5f380251fd0439508f8275d40c1ddfb8ab651b2eacd614286d5ce85794d74ed5d4a957a28241e231c058b131d89bbd7f5ba37f3a4e4a99b5b194bffcb0e67 +MISC metadata.xml 244 BLAKE2B 9c6750147c240d7416fad33e04b53730dc89cbb615648a7f3defeed3ec058aeee6dbed55a1f81241417b42ca9f7daec177c725692166a5ba08765b5dcf5a6bc5 SHA512 1da71f4fae0251c97a8fcfa1e13b0a3f8b95a856fa919ebd30bf4f2f1b8fa900841db09ebc2a0ae9fe0d91f786ac40b63290382668412fcb05bca15b0746f1db diff --git a/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch b/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch new file mode 100644 index 000000000000..d109b60d4363 --- /dev/null +++ b/dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch @@ -0,0 +1,11 @@ +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -3,7 +3,7 @@ + + libconfig_tests_SOURCES = tests.c + +-libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I../lib ++libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I$(top_srcdir)/lib + + libconfig_tests_LDADD = -L$(top_builddir)/tinytest -ltinytest \ + -L$(top_builddir)/lib/.libs -lconfig diff --git a/dev-libs/libconfig/libconfig-1.5.ebuild b/dev-libs/libconfig/libconfig-1.5.ebuild new file mode 100644 index 000000000000..ba09057dd62a --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF="1" +inherit eutils autotools-multilib + +DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files" +HOMEPAGE="http://www.hyperrealm.com/libconfig/libconfig.html" +SRC_URI="http://www.hyperrealm.com/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 s390 sparc x86 ~x86-linux" +IUSE="+cxx examples static-libs" + +DEPEND=" + sys-devel/libtool + sys-devel/bison" + +PATCHES=( "${FILESDIR}/${PN}-1.5-out-of-source-build.patch" ) + +src_prepare() { + sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die + autotools-multilib_src_prepare +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable cxx) + --disable-examples + ) + autotools-utils_src_configure +} + +multilib_src_test() { + # It responds to check but that does not work as intended + emake test +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files + + if use examples; then + find examples -name "Makefile.*" -delete || die + dodoc -r examples + fi +} diff --git a/dev-libs/libconfig/libconfig-1.7.1.ebuild b/dev-libs/libconfig/libconfig-1.7.1.ebuild new file mode 100644 index 000000000000..96e4ed4d39e4 --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.7.1.ebuild @@ -0,0 +1,51 @@ +# 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-apps/texinfo + sys-devel/bison + sys-devel/libtool +" + +src_prepare() { + default + sed -i \ + -e '/sleep 3/d' \ + -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ + 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 +} 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..ac9ee0f1f56a --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.7.2.ebuild @@ -0,0 +1,50 @@ +# 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-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 + + prune_libtool_files +} diff --git a/dev-libs/libconfig/metadata.xml b/dev-libs/libconfig/metadata.xml new file mode 100644 index 000000000000..f8bd6f3f34f9 --- /dev/null +++ b/dev-libs/libconfig/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jer@gentoo.org</email> + <name>Jeroen Roovers</name> + </maintainer> +</pkgmetadata> |