From b19bbbb8242b102fa42d33a56dd599c2e51be93e Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 7 Jul 2010 12:10:48 +0000 Subject: Version bump wrt #327127 by Tim Harder. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- sys-power/acpid/ChangeLog | 7 +++++- sys-power/acpid/acpid-2.0.6.ebuild | 50 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 sys-power/acpid/acpid-2.0.6.ebuild (limited to 'sys-power') diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog index 188ba358c494..5f5637f93471 100644 --- a/sys-power/acpid/ChangeLog +++ b/sys-power/acpid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/acpid # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.52 2010/06/16 17:23:38 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.53 2010/07/07 12:10:48 ssuominen Exp $ + +*acpid-2.0.6 (07 Jul 2010) + + 07 Jul 2010; Samuli Suominen +acpid-2.0.6.ebuild: + Version bump wrt #327127 by Tim Harder. *acpid-2.0.5 (16 Jun 2010) diff --git a/sys-power/acpid/acpid-2.0.6.ebuild b/sys-power/acpid/acpid-2.0.6.ebuild new file mode 100644 index 000000000000..bff63d74f5e2 --- /dev/null +++ b/sys-power/acpid/acpid-2.0.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.6.ebuild,v 1.1 2010/07/07 12:10:48 ssuominen Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="Daemon for Advanced Configuration and Power Interface" +HOMEPAGE="http://tedfelix.com/linux/acpid-netlink.html" +SRC_URI="http://tedfelix.com/linux/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 -ppc ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.0.3.patch +} + +src_compile() { + tc-export CC CPP + emake || die + emake -C kacpimon || die +} + +src_install() { + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install || die + + dobin kacpimon/kacpimon || die + newdoc kacpimon/README README.kacpimon + + exeinto /etc/acpi + newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh || die + insinto /etc/acpi/events + newins "${FILESDIR}"/${PN}-1.0.4-default default || die + + newinitd "${FILESDIR}"/${PN}-2.0.3-init.d acpid || die + newconfd "${FILESDIR}"/${PN}-1.0.6-conf.d acpid || die + + prepalldocs +} + +pkg_postinst() { + elog + elog "You may wish to read the Gentoo Linux Power Management Guide," + elog "which can be found online at:" + elog "http://www.gentoo.org/doc/en/power-management-guide.xml" + elog +} -- cgit v1.2.3-65-gdbad