diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-11-18 22:28:15 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-11-18 22:28:15 +0000 |
commit | 5a55c8fee373ac24983b5d4303ec66285ec465bf (patch) | |
tree | 5633989ebb625a75725d539e0391e7f6e79185c8 /net/wakeup/Makefile | |
parent | f06e5d80beeb77e5ff97c452e2c3cb0726edf093 (diff) | |
download | pkgsrc-5a55c8fee373ac24983b5d4303ec66285ec465bf.tar.gz |
Send a broadcast message to all clients of a subnet containing
a magic packet to boot the machine up.
Usage: wakeup xx:xx:xx:xx:xx:xx
xx:xx:xx:xx:xx:xx is the MAC address of the machine you want to
wake up. Can be obtained via "arp -a" (remote) or "ifconfig -a"
(local),
Diffstat (limited to 'net/wakeup/Makefile')
-rw-r--r-- | net/wakeup/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/wakeup/Makefile b/net/wakeup/Makefile new file mode 100644 index 00000000000..3c5f1c39342 --- /dev/null +++ b/net/wakeup/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/18 22:28:15 hubertf Exp $ +# + +DISTNAME= hpwake.c.gz +PKGNAME= wakeup-1.0 +CATEGORIES= sysutils net +MASTER_SITES= http://141.99.132.33/wol/ +EXTRACT_SUFX= # empty + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://www.berens-partner.de/wann/computer/wol.html + +NO_WRKSUBDIR= yes + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME} + ${GUNZIP_CMD} ${WRKSRC}/${DISTNAME} + +do-build: + (cd ${WRKSRC} ; ${CC} ${CFLAGS} -O2 -o ${DISTNAME:C/.c.gz//} ${DISTNAME:C/.gz//} ) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:C/.c.gz//} ${PREFIX}/bin/${PKGNAME:C/-.*$//} + +.include "../../mk/bsd.pkg.mk" |