15 lines
382 B
Ruby
15 lines
382 B
Ruby
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
|
|
|
|
test do
|
|
`#{bin}/sendemail`.strip =~ /sendemail-#{Regexp.escape(version)}/
|
|
end
|
|
end
|