added etherwake package (by donald becker)
[hdw-linux/hdw-linux.git] / packages / net / etherwake / etherwake
1 # hdw - linux etherwake package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 0
6 # [S] 3-1
7 # [D] ether-wake.c ftp://ftp.scyld.com/pub/diag/
8 # [D] etherwake.8 ftp://ftp.scyld.com/pub/diag/
9
10 custmain=1
11 custmain()      {
12         gcc -Wall $hdw_cflags -o ./etherwake $archdir/ether-wake.c
13         mkdir -p $prefix/sbin
14         cp ./etherwake $prefix/sbin
15         chmod 750 $prefix/sbin/etherwake
16         mkdir -p $prefix/man/man8
17         cp -vLf $archdir/etherwake.8 $prefix/man/man8
18                 }