diff options
Diffstat (limited to 'net-misc/etherwake/etherwake-1.08.ebuild')
-rw-r--r-- | net-misc/etherwake/etherwake-1.08.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net-misc/etherwake/etherwake-1.08.ebuild b/net-misc/etherwake/etherwake-1.08.ebuild index 71fdfbd5c59f..e4662fdbf084 100644 --- a/net-misc/etherwake/etherwake-1.08.ebuild +++ b/net-misc/etherwake/etherwake-1.08.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/etherwake/etherwake-1.08.ebuild,v 1.5 2003/09/05 22:13:37 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/etherwake/etherwake-1.08.ebuild,v 1.6 2003/09/07 16:16:36 iggy Exp $ DESCRIPTION="This program generates and transmits a Wake-On-LAN (WOL) \"Magic Packet\", used for restarting machines that have been soft-powered-down (ACPI D3-warm state)." SRC_URI="http://www.scyld.com/pub/diag/ether-wake.c @@ -13,8 +13,14 @@ KEYWORDS="x86 ~ppc ~sparc ~alpha" DEPEND="virtual/glibc" +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/ether-wake.c ${S}/etherwake.c +} + src_compile() { - gcc ${CFLAGS} -o etherwake ${DISTDIR}/ether-wake.c + cd ${S} + gcc ${CFLAGS} -o etherwake etherwake.c } src_install() { |