dev-libs/libconfig: Old.

Package-Manager: portage-2.2.23
This commit is contained in:
Jeroen Roovers
2015-10-31 08:23:42 +01:00
parent 7db040663d
commit efb3b24589
3 changed files with 0 additions and 72 deletions

View File

@@ -1,2 +1 @@
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

View File

@@ -1,16 +0,0 @@
--- 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 = \

View File

@@ -1,55 +0,0 @@
# 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
}