diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-22 11:04:53 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-22 11:04:53 +0000 |
commit | 69528aebb66e2566e380b5834f46bdd65f5182d2 (patch) | |
tree | e63c0e634d89662e790e1873f8674b0c65fca40b /sys-power/acpid/acpid-1.0.4-r1.ebuild | |
parent | Pruned old versions. (diff) | |
download | historical-69528aebb66e2566e380b5834f46bdd65f5182d2.tar.gz historical-69528aebb66e2566e380b5834f46bdd65f5182d2.tar.bz2 historical-69528aebb66e2566e380b5834f46bdd65f5182d2.zip |
Pruned old versions.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sys-power/acpid/acpid-1.0.4-r1.ebuild')
-rw-r--r-- | sys-power/acpid/acpid-1.0.4-r1.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/sys-power/acpid/acpid-1.0.4-r1.ebuild b/sys-power/acpid/acpid-1.0.4-r1.ebuild deleted file mode 100644 index 9aceff08322c..000000000000 --- a/sys-power/acpid/acpid-1.0.4-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-1.0.4-r1.ebuild,v 1.5 2005/09/08 13:01:50 brix Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Daemon for Advanced Configuration and Power Interface" -HOMEPAGE="http://acpid.sourceforge.net" -SRC_URI="mirror://sourceforge/acpid/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 -ppc ~alpha ~amd64 ~ia64" -IUSE="doc" - -DEPEND="sys-apps/sed" -RDEPEND="" - -src_unpack() { - unpack ${A} - - cd ${S} - # Fix building with gcc4 - epatch ${FILESDIR}/${P}-gcc4.patch - - # do not treat warnings as errors, bug #90873 - sed -i -e "s:-Werror::" ${S}/Makefile -} - -src_compile() { - # DO NOT COMPILE WITH OPTIMISATIONS (bug #22365) - # That is a note to the devs. IF you are a user, go ahead and optimise - # if you want, but we won't support bugs associated with that. - make CC="$(tc-getCC)" INSTPREFIX="${D}" || die -} - -src_install() { - # needed since the Makefile doesn't do 'mkdir -p $(BINDIR)' - dodir /usr/bin - - make INSTPREFIX="${D}" install || die - - exeinto /etc/acpi - newexe ${FILESDIR}/${P}-default.sh default.sh || die - - insinto /etc/acpi/events - newins ${FILESDIR}/${P}-default default || die - - dodoc README Changelog TODO - - exeinto /etc/init.d - newexe ${FILESDIR}/acpid.rc6 acpid || die - - if use doc; then - docinto examples - dodoc samples/{acpi_handler.sh,sample.conf} - - docinto examples/battery - dodoc samples/battery/* - - docinto examples/panasonic - dodoc samples/panasonic/* - fi -} - -pkg_postinst() { - echo - einfo "You may wish to read the Gentoo Linux Power Management Guide," - einfo "which can be found online at:" - einfo " http://www.gentoo.org/doc/en/power-management-guide.xml" - echo -} |