14 lines
438 B
Ruby
14 lines
438 B
Ruby
class Wakeonlan < Formula
|
|
desc "Sends magic packets to wake up network-devices"
|
|
homepage "https://github.com/jpoliv/wakeonlan"
|
|
url "https://github.com/jpoliv/wakeonlan/archive/wakeonlan-0.41.tar.gz"
|
|
sha256 "1d8c3cd106f515167e49134abb8209af891ca152a00ee94a8c5137f654e079bc"
|
|
|
|
def install
|
|
system "perl", "Makefile.PL"
|
|
system "make"
|
|
bin.install "blib/script/wakeonlan"
|
|
man1.install "blib/man1/wakeonlan.1"
|
|
end
|
|
end
|