homebrew-core/Formula/wakeonlan.rb
2012-09-03 11:36:42 -07:00

15 lines
457 B
Ruby

require 'formula'
class Wakeonlan < Formula
url 'http://gsd.di.uminho.pt/jpo/software/wakeonlan/downloads/wakeonlan-0.41.tar.gz'
homepage 'http://gsd.di.uminho.pt/jpo/software/wakeonlan/'
sha1 '95ed4be631e291fc07a72d5625a1ee915b35f85f'
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'
end
end