public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/libconf: ChangeLog libconf-0.42.10-r2.ebuild libconf-0.42.10-r1.ebuild
@ 2009-12-09 14:12 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2009-12-09 14:12 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/12/09 14:12:49

  Modified:             ChangeLog
  Added:                libconf-0.42.10-r2.ebuild
  Removed:              libconf-0.42.10-r1.ebuild
  Log:
  QA: Revbump. Fix ruby bindings and perl-5.10 issues. Non-maintainer commit. Fixes bug #117061 and #256686.
  (Portage version: 2.2_rc56/cvs/Linux i686)

Revision  Changes    Path
1.49                 dev-util/libconf/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/libconf/ChangeLog?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/libconf/ChangeLog?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/libconf/ChangeLog?r1=1.48&r2=1.49

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/libconf/ChangeLog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ChangeLog	2 Jul 2009 23:57:49 -0000	1.48
+++ ChangeLog	9 Dec 2009 14:12:49 -0000	1.49
@@ -1,6 +1,14 @@
 # ChangeLog for dev-util/libconf
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/ChangeLog,v 1.48 2009/07/02 23:57:49 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/ChangeLog,v 1.49 2009/12/09 14:12:49 scarabeus Exp $
+
+*libconf-0.42.10-r2 (09 Dec 2009)
+
+  09 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  +files/0.42.10-perl5.10.patch, -libconf-0.42.10-r1.ebuild,
+  +libconf-0.42.10-r2.ebuild:
+  QA: Revbump. Fix ruby bindings and perl-5.10 issues. Non-maintainer
+  commit. Fixes bug #117061 and #256686.
 
   02 Jul 2009; Jeroen Roovers <jer@gentoo.org> libconf-0.42.10-r1.ebuild:
   Marked ~hppa too.



1.1                  dev-util/libconf/libconf-0.42.10-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/libconf/libconf-0.42.10-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/libconf/libconf-0.42.10-r2.ebuild?rev=1.1&content-type=text/plain

Index: libconf-0.42.10-r2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/libconf/libconf-0.42.10-r2.ebuild,v 1.1 2009/12/09 14:12:49 scarabeus Exp $

inherit eutils multilib toolchain-funcs

MY_P=perl-Libconf-${PV}

DESCRIPTION="Centralized abstraction layer for system configuration files"
HOMEPAGE="http://damien.krotkine.com/libconf/"
SRC_URI="http://damien.krotkine.com/libconf/dist/${MY_P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"

IUSE="python ruby"
DEPEND="dev-lang/perl
	dev-perl/DelimMatch
	dev-perl/XML-Twig
	python? ( >=dev-lang/python-2.4.2 )
	ruby? ( >=dev-lang/ruby-1.8.3 )"

S=${WORKDIR}/${MY_P}

bindings() {
	local mybindings
	mybindings="bash"
	use python && mybindings="${mybindings} python"
	# ruby bindings require c bindings - bug #117061
	use ruby && mybindings="${mybindings} c ruby"
	echo ${mybindings}
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	[[ ${USERLAND} == *BSD ]] && epatch "${FILESDIR}/${PV}-fbsd.patch"
	epatch "${FILESDIR}/${PV}-per5.10.patch"

	# Multilib fix
	sed -i \
		-e "/^LIB_DIR/ { s:lib:$(get_libdir): }" \
		-e 's/^CF=-Wall/CF=$(CFLAGS)/' \
		bindings/c/src/Makefile || die "sed failed"

	sed -i \
		-e 's/        /\t/' \
		perl-Libconf/Makefile || die "sed failed"

	sed -i \
		-e '/^MAKE =/d' \
		Makefile perl-Libconf/Makefile || die "sed failed"
}
src_compile() {
	emake \
		BINDINGS="$(bindings)" \
		CC=$(tc-getCC) \
		|| die "make failed"
}

src_install() {
	emake \
		BINDINGS="$(bindings)" \
		PREFIX="${D}/usr" DESTDIR="${D}" ROOT="${D}" \
		CPA="cp -pR" install || die "emake install failed"
	dodoc AUTHORS ChangeLog || die
	use python && { newdoc newdoc bindings/ruby/src/AUTHORS AUTHORS.python || die ; }
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-09 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 14:12 [gentoo-commits] gentoo-x86 commit in dev-util/libconf: ChangeLog libconf-0.42.10-r2.ebuild libconf-0.42.10-r1.ebuild Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox