diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libconfig | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/libconfig')
-rw-r--r-- | dev-libs/libconfig/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch | 16 | ||||
-rw-r--r-- | dev-libs/libconfig/files/libconfig-1.5-out-of-source-build.patch | 11 | ||||
-rw-r--r-- | dev-libs/libconfig/libconfig-1.4.9-r1.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/libconfig/libconfig-1.5.ebuild | 51 | ||||
-rw-r--r-- | dev-libs/libconfig/metadata.xml | 13 |
6 files changed, 148 insertions, 0 deletions
diff --git a/dev-libs/libconfig/Manifest b/dev-libs/libconfig/Manifest new file mode 100644 index 000000000000..dc45cf7cc4db --- /dev/null +++ b/dev-libs/libconfig/Manifest @@ -0,0 +1,2 @@ +DIST libconfig-1.4.9.tar.gz 688158 SHA256 09c8979252e60193e2969e9b0e1cd597f7820087867989b2f0939ad164473041 SHA512 49a4318c1b8a5f15dc0cefaf25c481f95008e413696420d5e8cacb7a6ce7e600b84c4b7e7365373cee62e392e14556ff31d65c1e084a9b7ab2153a55cbf787a7 WHIRLPOOL 3d64dfb7cfd21c769738791236d6f6f4b01d296d060c21767f441f644b0d0bba62b5782bd7129dcc2657377200e59a345a5f197a67b5579e2193447fdefc1d25 +DIST libconfig-1.5.tar.gz 644432 SHA256 e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6 SHA512 16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd WHIRLPOOL ef3718b1ec4485202d1fd03db035419b6c0179e4c4eb47e74ff93b467677c4f53cf9d70d5eb7aa6230dab7a4115e5fae0fc4ed191f1bfc6d0c3c252ee5d90944 diff --git a/dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch b/dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch new file mode 100644 index 000000000000..fe7c2cc42bec --- /dev/null +++ b/dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch @@ -0,0 +1,16 @@ +--- a/libconfig-1.4.9/tests/Makefile.am ++++ b/libconfig-1.4.9/tests/Makefile.am +@@ -3,10 +3,10 @@ + + libconfig_tests_SOURCES = tests.c + +-libconfig_tests_CPPFLAGS = -I../tinytest -I../lib ++libconfig_tests_CPPFLAGS = -I$(top_srcdir)/tinytest -I$(top_srcdir)/lib + +-libconfig_tests_LDADD = -L../tinytest -ltinytest \ +- -L../lib/.libs -lconfig ++libconfig_tests_LDADD = -L$(top_builddir)/tinytest -ltinytest \ ++ -L$(top_builddir)/lib/.libs -lconfig + + + EXTRA_DIST = \ 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.4.9-r1.ebuild b/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild new file mode 100644 index 000000000000..45b0e656906d --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~mips ppc ppc64 sparc x86 ~x86-linux" +IUSE="+cxx examples static-libs" + +DEPEND=" + sys-devel/libtool + sys-devel/bison" + +PATCHES=( "${FILESDIR}/${P}-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 + local dir + for dir in examples/c examples/c++; do + insinto /usr/share/doc/${PF}/${dir} + doins ${dir}/* + done + fi +} diff --git a/dev-libs/libconfig/libconfig-1.5.ebuild b/dev-libs/libconfig/libconfig-1.5.ebuild new file mode 100644 index 000000000000..1835e65e2a58 --- /dev/null +++ b/dev-libs/libconfig/libconfig-1.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~mips ~ppc ~ppc64 ~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/metadata.xml b/dev-libs/libconfig/metadata.xml new file mode 100644 index 000000000000..4c4e44ce9334 --- /dev/null +++ b/dev-libs/libconfig/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>bugs@bergstroem.nu</email> + <name>Johan Bergström</name> + </maintainer> + <maintainer> + <email>jer@gentoo.org</email> + <name>Jeroen Roovers</name> + </maintainer> +</pkgmetadata> |