From b3cce4288d683337252f75aa872b9e48badf835c Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Mon, 9 Oct 2006 11:35:52 +0000 Subject: [PATCH] version bump Package-Manager: portage-2.1.2_pre2-r5 --- app-portage/conf-update/ChangeLog | 8 ++- .../conf-update/conf-update-1.0.ebuild | 58 +++++++++++++++++++ .../conf-update/files/digest-conf-update-1.0 | 3 + 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 app-portage/conf-update/conf-update-1.0.ebuild create mode 100644 app-portage/conf-update/files/digest-conf-update-1.0 diff --git a/app-portage/conf-update/ChangeLog b/app-portage/conf-update/ChangeLog index 56b2a5aca4b2..88bc48e16638 100644 --- a/app-portage/conf-update/ChangeLog +++ b/app-portage/conf-update/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/conf-update # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/ChangeLog,v 1.11 2006/10/01 14:33:11 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/ChangeLog,v 1.12 2006/10/09 11:35:52 blubb Exp $ + +*conf-update-1.0 (09 Oct 2006) + + 09 Oct 2006; Simon Stelling -conf-update-0.12.0.ebuild, + +conf-update-1.0.ebuild: + version bump & cleanups 01 Oct 2006; Danny van Dyk conf-update-0.12.0.ebuild: diff --git a/app-portage/conf-update/conf-update-1.0.ebuild b/app-portage/conf-update/conf-update-1.0.ebuild new file mode 100644 index 000000000000..3fa76c35b502 --- /dev/null +++ b/app-portage/conf-update/conf-update-1.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/conf-update/conf-update-1.0.ebuild,v 1.1 2006/10/09 11:35:52 blubb Exp $ + +inherit toolchain-funcs + +DESCRIPTION="${PN} is a ncurses-based config management utility" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~blubb/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="colordiff" + +RDEPEND=">=dev-libs/glib-2.6 + dev-libs/openssl + sys-libs/ncurses + colordiff? ( app-misc/colordiff )" +DEPEND="dev-util/pkgconfig + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i -e "s/\$Rev:.*\\$/${PVR}/" conf-update.h || die 'version-sed failed' + + # gcc-4.1-only option + sed -i -e "s:-Wno-pointer-sign::g" Makefile || die 'gcc-sed failed' + + if use colordiff ; then + sed -i -e "s/diff_tool=diff/diff_tool=colordiff/" ${PN}.conf || \ + die 'colordiff-sed failed' + fi +} + +src_compile() { + emake CC=$(tc-getCC) || die 'emake failed' +} + +src_install() { + into /usr + dosbin ${PN} || die 'dosbin failed' + + insinto /etc + doins ${PN}.conf + + doman ${PN}.1 +} + +pkg_postinst() { + if has_version '