From: hackbard Date: Wed, 22 Dec 2004 00:11:58 +0000 (+0000) Subject: added etherwake package (by donald becker) X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce413596b2b04285c638d5deb2604a17d118a74;p=hdw-linux%2Fhdw-linux.git added etherwake package (by donald becker) --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index fe7a50f..ae297b6 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,5 +1,6 @@ *) 2004-12-22 +- added etherwake package (by donald becker) - added libieee1284 package - fixed / updated firefox & thunderbird package - added thunderbird to targets diff --git a/packages/net/etherwake/etherwake b/packages/net/etherwake/etherwake new file mode 100644 index 0000000..efea0dd --- /dev/null +++ b/packages/net/etherwake/etherwake @@ -0,0 +1,18 @@ +# hdw - linux etherwake package +# +# author: hackbard@hackdaworld.dyndns.org +# +# [V] 0 +# [S] 3-1 +# [D] ether-wake.c ftp://ftp.scyld.com/pub/diag/ +# [D] etherwake.8 ftp://ftp.scyld.com/pub/diag/ + +custmain=1 +custmain() { + gcc -Wall $hdw_cflags -o ./etherwake $archdir/ether-wake.c + mkdir -p $prefix/sbin + cp ./etherwake $prefix/sbin + chmod 750 $prefix/sbin/etherwake + mkdir -p $prefix/man/man8 + cp -vLf $archdir/etherwake.8 $prefix/man/man8 + }