forked from keitheis/homebrew-dupes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nano.rb
24 lines (21 loc) · 798 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'
sha1 'f2a628394f8dda1b9f28c7e7b89ccb9a6dbd302a'
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