homebrew-core/Formula/wakeonlan.rb

16 lines
448 B
Ruby
Raw Normal View History

2009-11-26 19:17:35 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Wakeonlan < Formula
2009-11-26 19:17:35 +00:00
url 'http://gsd.di.uminho.pt/jpo/software/wakeonlan/downloads/wakeonlan-0.41.tar.gz'
homepage 'http://gsd.di.uminho.pt/jpo/software/wakeonlan/'
md5 'd3143c5fe92d16196ac853b55dd421b5'
def install
system "perl", "Makefile.PL"
system "make"
# 'make install' tries to put stuff in /Library/Perl
bin.install 'blib/script/wakeonlan'
man1.install 'blib/man1/wakeonlan.1'
2009-11-26 19:17:35 +00:00
end
end