aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/minicom.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/minicom.rb')
-rw-r--r--Library/Formula/minicom.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/minicom.rb b/Library/Formula/minicom.rb
index b1f4dc861..6908b3ce4 100644
--- a/Library/Formula/minicom.rb
+++ b/Library/Formula/minicom.rb
@@ -1,25 +1,24 @@
require 'formula'
class Minicom <Formula
- @url='http://alioth.debian.org/frs/download.php/3195/minicom-2.4.tar.gz'
- @homepage='http://alioth.debian.org/projects/minicom/'
- @md5='700976a3c2dcc8bbd50ab9bb1c08837b'
+ url 'http://alioth.debian.org/frs/download.php/3195/minicom-2.4.tar.gz'
+ homepage 'http://alioth.debian.org/projects/minicom/'
+ md5 '700976a3c2dcc8bbd50ab9bb1c08837b'
def install
# There is a silly bug in the Makefile where it forgets to link to iconv. Workaround below.
ENV['LIBS'] = '-liconv'
-
- system "./configure", "--prefix=#{prefix}",
- "--disable-dependency-tracking",
+
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
(prefix + 'etc').mkdir
(prefix + 'var').mkdir
(prefix + 'etc/minirc.dfl').write "pu lock #{prefix}/var\npu escape-key Escape (Meta)\n"
-
end
-
+
def caveats; <<-EOS
Terminal Compatibility
======================
@@ -36,5 +35,4 @@ Most development boards require Serial port setup -> Hardware Flow
Control to be set to "No" to input text.
EOS
end
-
end