initial ebuild #47162
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Oct 2004 04:03:44 +0000 (04:03 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Oct 2004 04:03:44 +0000 (04:03 +0000)
sys-apps/nvram-wakeup/ChangeLog [new file with mode: 0644]
sys-apps/nvram-wakeup/Manifest [new file with mode: 0644]
sys-apps/nvram-wakeup/files/digest-nvram-wakeup-0.97 [new file with mode: 0644]
sys-apps/nvram-wakeup/metadata.xml [new file with mode: 0644]
sys-apps/nvram-wakeup/nvram-wakeup-0.97.ebuild [new file with mode: 0644]

diff --git a/sys-apps/nvram-wakeup/ChangeLog b/sys-apps/nvram-wakeup/ChangeLog
new file mode 100644 (file)
index 0000000..7a4db66
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for sys-apps/nvram-wakeup
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nvram-wakeup/ChangeLog,v 1.1 2004/10/08 04:03:44 vapier Exp $
+
+*nvram-wakeup-0.97 (08 Oct 2004)
+
+  08 Oct 2004; Mike Frysinger <vapier@gentoo.org> :
+  Initial import.  Ebuild submitted by Stefan Briesenick/Carsten Lohrke #47162.
diff --git a/sys-apps/nvram-wakeup/Manifest b/sys-apps/nvram-wakeup/Manifest
new file mode 100644 (file)
index 0000000..b265bab
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 564977d5bcd3d9948a52faa87ffabbdd nvram-wakeup-0.97.ebuild 1501
+MD5 1df7dd2a4d6edb67648007e88bf0c19b ChangeLog 381
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 e2dd22a894561858f4bac2dc63c0104e files/digest-nvram-wakeup-0.97 69
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBZhGwHTu7gpaalycRAqEOAKCoS7wCsLL0a1goqWFsBIOWjO+1lgCfUOUe
+CkuMAd88uVfHwICmHkLf+v4=
+=4SeQ
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/nvram-wakeup/files/digest-nvram-wakeup-0.97 b/sys-apps/nvram-wakeup/files/digest-nvram-wakeup-0.97
new file mode 100644 (file)
index 0000000..9079f32
--- /dev/null
@@ -0,0 +1 @@
+MD5 004626e0ae33b3b59b9320da9434c673 nvram-wakeup-0.97.tar.bz2 55853
diff --git a/sys-apps/nvram-wakeup/metadata.xml b/sys-apps/nvram-wakeup/metadata.xml
new file mode 100644 (file)
index 0000000..96a2d58
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
diff --git a/sys-apps/nvram-wakeup/nvram-wakeup-0.97.ebuild b/sys-apps/nvram-wakeup/nvram-wakeup-0.97.ebuild
new file mode 100644 (file)
index 0000000..ec8eeef
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nvram-wakeup/nvram-wakeup-0.97.ebuild,v 1.1 2004/10/08 04:03:44 vapier 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=""
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       # 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} -g:" \
+               Makefile || die "setting CFLAGS"
+}
+
+src_install() {
+       make \
+               prefix=${D}/usr \
+               MANDIR=${D}/usr/share/man \
+               DOCDIR=${D}/usr/share/doc/${PF} \
+               install || die
+       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
+}