homebrew-core/Formula/sendemail.rb

16 lines
382 B
Ruby
Raw Normal View History

require 'formula'
class Sendemail < Formula
homepage 'http://caspian.dotconf.net/menu/Software/SendEmail/'
url 'http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz'
sha1 '5c7c03ce60785c7b7695ec486c84d6e15704df38'
def install
bin.install 'sendEmail'
end
2013-03-24 05:13:21 +00:00
test do
`#{bin}/sendemail`.strip =~ /sendemail-#{Regexp.escape(version)}/
end
end