diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-18 18:15:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-18 18:15:38 +0000 |
commit | 733ea457a49a996557452d473db38ad976b3d661 (patch) | |
tree | dec2f857a8d070f199960761f6880bc85f31b27d /sys-power | |
parent | Version bump. (diff) | |
download | historical-733ea457a49a996557452d473db38ad976b3d661.tar.gz historical-733ea457a49a996557452d473db38ad976b3d661.tar.bz2 historical-733ea457a49a996557452d473db38ad976b3d661.zip |
old
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild b/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild deleted file mode 100644 index cee43edd48c2..000000000000 --- a/sys-power/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild +++ /dev/null @@ -1,60 +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/nvram-wakeup/nvram-wakeup-0.97-r1.ebuild,v 1.2 2005/12/13 23:14:19 zzam Exp $ - -inherit flag-o-matic - -DESCRIPTION="read and write the WakeUp time in the BIOS" -HOMEPAGE="http://sourceforge.net/projects/nvram-wakeup" -SRC_URI="mirror://sourceforge/nvram-wakeup/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="nls" - -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - use nls || epatch "${FILESDIR}"/${P}-nonls.patch - # Need to be careful with CFLAGS since this could eat your bios - strip-flags - sed -i \ - -e "s:-O2 -Wall -Wstrict-prototypes -g -mcpu=i686:${CFLAGS}:" \ - Makefile || die "setting CFLAGS" -} - -src_install() { - make \ - prefix="${D}"/usr \ - MANDIR="${D}"/usr/share/man \ - DOCDIR="${D}"/usr/share/doc/${PF} \ - install || die - - dodoc "${D}"/usr/bin/vdrshutdown - rm -f "${D}"/usr/bin/vdrshutdown - dodoc set_timer - - rm -f "${D}"/usr/sbin/time - rm -f "${D}"/usr/share/man/man*/time.8* - - prepalldocs -} - -pkg_postinst() { - echo - ewarn "WARNING:" - ewarn "This program writes into the NVRAM (used by BIOS to store the CMOS" - ewarn "settings). This is DANGEROUS. Do it at your own risk. Neither the" - ewarn "author of this program (nvram-wakeup) nor anyone else can be made" - ewarn "responsible to any damage made by this program in any way." - ewarn "(The worst case happened to me is that on reboot the BIOS noticed the" - ewarn "illegal contents of the nvram and set everything to default values." - ewarn "But this doesn't mean that you can't destroy even your whole computer.)" - echo - ewarn " YOU HAVE BEEN WARNED, HAVE A NICE DAY" - echo -} |