forked from keitheis/homebrew-dupes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nano.rb
24 lines (21 loc) · 789 Bytes
/
nano.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'
class Nano < Formula
homepage 'http://www.nano-editor.org/'
url 'http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz'
md5 '03233ae480689a008eb98feb1b599807'
depends_on "s-lang"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}",
"--enable-color",
"--enable-extra",
"--enable-multibuffer",
"--enable-nanorc",
"--disable-nls",
"--enable-utf8",
"--with-slang=#{HOMEBREW_PREFIX}"
system "make install"
end
end