2013-02-22 12:46:58 +00:00
|
|
|
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)}/
|
2013-02-22 12:46:58 +00:00
|
|
|
end
|
|
|
|
end
|