X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fnet%2Fetherwake%2Fetherwake;fp=packages%2Fnet%2Fetherwake%2Fetherwake;h=efea0dde416cd318c5e8ff9a3d457463ef3ac993;hb=4ce413596b2b04285c638d5deb2604a17d118a74;hp=0000000000000000000000000000000000000000;hpb=137c6d5bc9641b1e65af7a948a39049a20a0b532;p=hdw-linux%2Fhdw-linux.git 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 + }