summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libconfig/ChangeLog8
-rw-r--r--dev-libs/libconfig/Manifest10
-rw-r--r--dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch17
-rw-r--r--dev-libs/libconfig/libconfig-1.4.9-r1.ebuild55
4 files changed, 85 insertions, 5 deletions
diff --git a/dev-libs/libconfig/ChangeLog b/dev-libs/libconfig/ChangeLog
index 05902fe3ccb9..7b716a77736a 100644
--- a/dev-libs/libconfig/ChangeLog
+++ b/dev-libs/libconfig/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libconfig
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libconfig/ChangeLog,v 1.52 2013/03/05 03:38:47 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libconfig/ChangeLog,v 1.53 2013/04/02 18:55:41 jer Exp $
+
+*libconfig-1.4.9-r1 (02 Apr 2013)
+
+ 02 Apr 2013; Jeroen Roovers <jer@gentoo.org> +libconfig-1.4.9-r1.ebuild,
+ +files/libconfig-1.4.9-out-of-source-build.patch:
+ Add multilib support by Karl Lindén (bug #464128).
05 Mar 2013; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Add proxy-maintainers herd.
diff --git a/dev-libs/libconfig/Manifest b/dev-libs/libconfig/Manifest
index 5e441298e7d9..a0cdbba1250c 100644
--- a/dev-libs/libconfig/Manifest
+++ b/dev-libs/libconfig/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX libconfig-1.4.9-out-of-source-build.patch 620 SHA256 8e77595bdcb92832d35a74bca2877d6450ce06c7a2ec437a2aac17df4264e78b SHA512 41444f4d70a52fd315edec1990d272f823bb5fb89cb901451095a78a05d694c823fb167ce569cd4bbf0e65c42dc68aa0ddf1d343540b83942cba0a50b34a77b7 WHIRLPOOL 88f1cf86c3fe23a1feb8a89743e7066646689feae8f8b51e86c8ffeb287fc9fba5f21d31936fd68f809fe41e6d6621377d506fe5e54e68ec14957fec52251cfc
DIST libconfig-1.4.9.tar.gz 688158 SHA256 09c8979252e60193e2969e9b0e1cd597f7820087867989b2f0939ad164473041 SHA512 49a4318c1b8a5f15dc0cefaf25c481f95008e413696420d5e8cacb7a6ce7e600b84c4b7e7365373cee62e392e14556ff31d65c1e084a9b7ab2153a55cbf787a7 WHIRLPOOL 3d64dfb7cfd21c769738791236d6f6f4b01d296d060c21767f441f644b0d0bba62b5782bd7129dcc2657377200e59a345a5f197a67b5579e2193447fdefc1d25
+EBUILD libconfig-1.4.9-r1.ebuild 1288 SHA256 1ffd3953a7afa69c9ee82549addcd331379844adc4a0a1a341e110325550c156 SHA512 3ba8a879e7d8a72104f6fb673ecb4bbd04626c0ff8a732231b2281405c697dab3cf7a0c51f10761f85882794ecf4342307d31337d25b7aab0a0122619f76f57a WHIRLPOOL f11daeeb3b169f1c2835cfe1d1077dcbb884510a8d32de895a9a143208f1aa1c59bc04b08e975bf5f0902894be3179bfecd6293fbd2d45d933a3606a61e21655
EBUILD libconfig-1.4.9.ebuild 988 SHA256 77b69b167b9fdb55151ae9cbd24420aa05e8f854a7f459a8ba502a713d94e9b3 SHA512 062e7e0bd3541572e35c169c447b2e11b1af32b38370339a5a87e354509a7735517e3db6b0f6da5897a29c2a7609ed5d966c0534fb03b2326b71a80f051a03b6 WHIRLPOOL 11043a5d66dc50f079e3673e546c87faad9c8885f065e7534a3d87c8469d5c99b5eb5984f6067a9e1db7adc131fae5fd404b4cd2da495da02e1fbf35f6a6638e
-MISC ChangeLog 6413 SHA256 ed6917c2c7d560172458b8528514d19d9c7d02b03e0d1aa0102ef2c78d72f5f9 SHA512 ed9fad836efeac137174dc60f57349ca59ee9eabcaccaf746e0bebf3050844e6a220761a57566f289d44cc3d4c607085f0e6f940d8b2b5480132223b1b1aca99 WHIRLPOOL cc1e801f33fc8071e344eb46e986c474ccac21f4565a9366416832417de45bcc20ad35c5218ce2f0f466d0b171d962dfb7509ec5263829c4d63f986d0bd3121f
+MISC ChangeLog 6630 SHA256 67e2d2652800d34ce6ba334d54bf5a6fb9f6c0062521afdb0e8ddf11668ea009 SHA512 bcd6df9fcc9f82ad76050fedaaf351ee3aa7e36427b67186d7058e8da4d0934f3107f4e1fbfccfbbc93389730268a68ae7f6af79d40bad558b76f8931a1ece51 WHIRLPOOL 82f745e8e2fd0b38906b2ccc864fbfe2dbf07df948194fa40fb60ab297bf4432114086fc61015cc8e05031a4236d993161ae76663731575cd6a4d53402441a88
MISC metadata.xml 359 SHA256 f400193374a2ce7e2f8a0f047d088e8cb77c29690ecf78f3029f7b95a8d5ce3a SHA512 9c8018420c129b28070c6067a5ae2fcff2de22b2c3164d2a6e676e81688758f4d68268af2b62439e0d8ae9bf391a4f8e6a8f59329a92fac1935cd57baf1fd229 WHIRLPOOL 0323daadda8cf1a61bcbf22fe8fbe355b26686a13b43884e0751df26ac01a97f90bf54b7c4b3f9a1ac13852d46c801fcda10105f7e1968d12bdec9830b739220
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlE1aMkACgkQVWmRsqeSphOsigCfZTsWdE5F5mzxlP+tf5cmdRiV
-v18An3QB7SyarllU3gL+vADOrE+cK1VD
-=JHqI
+iEYEAREIAAYFAlFbKa4ACgkQVWmRsqeSphMQXQCdEv3QQLxk7fVjRoDLuey3PFGM
+XxMAnRaVE4mgwUJXtKmPueo2dXHDbGb9
+=9+c/
-----END PGP SIGNATURE-----
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..1f883a16e1cd
--- /dev/null
+++ b/dev-libs/libconfig/files/libconfig-1.4.9-out-of-source-build.patch
@@ -0,0 +1,17 @@
+diff -ur libconfig-1.4.9.orig/tests/Makefile.am libconfig-1.4.9/tests/Makefile.am
+--- libconfig-1.4.9.orig/tests/Makefile.am 2011-08-04 05:36:33.000000000 +0200
++++ libconfig-1.4.9/tests/Makefile.am 2013-04-01 21:50:54.413811947 +0200
+@@ -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/libconfig-1.4.9-r1.ebuild b/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild
new file mode 100644
index 000000000000..6dcceff9312d
--- /dev/null
+++ b/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild,v 1.1 2013/04/02 18:55:41 jer Exp $
+
+EAPI="5"
+
+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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+IUSE="+cxx examples static-libs"
+
+DEPEND="
+ sys-devel/libtool
+ sys-devel/bison"
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${P}-out-of-source-build.patch" )
+
+AUTOTOOLS_AUTORECONF="1"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable cxx)
+ --disable-examples
+ )
+ autotools-multilib_src_configure
+}
+
+local_src_test() {
+ pushd "${BUILD_DIR}" > /dev/null || die
+ emake test || die "test failed"
+ popd > /dev/null || die
+}
+
+src_test() {
+ # It responds to check but that does not work as intended
+ multilib_foreach_abi local_src_test
+}
+
+src_install() {
+ autotools-multilib_src_install
+ if use examples; then
+ local dir
+ for dir in examples/c examples/c++; do
+ insinto /usr/share/doc/${PF}/${dir}
+ doins ${dir}/*
+ done
+ fi
+}