forked from keitheis/homebrew-dupes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libedit.rb
27 lines (23 loc) · 945 Bytes
/
libedit.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
25
26
27
class Libedit < Formula
desc "BSD-style licensed readline alternative"
homepage "http://thrysoee.dk/editline/"
url "http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz"
version "20150325-3.1"
sha256 "c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5"
bottle do
cellar :any
revision 1
sha256 "8f5ab51b9dd30aa49911394e2d7f504b998aa4c896919cbd988c82037db3657c" => :el_capitan
sha256 "3e87dcba616bf44421601e18852f207cddbca9abc66a7b5c18e2fb8133d2d8de" => :yosemite
sha256 "144a566802d42825d9371d518ece15587d6b439fefdcc12adbd989d141372055" => :mavericks
end
keg_only :provided_by_osx
depends_on "homebrew/dupes/ncurses" unless OS.mac?
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--enable-widec",
"--prefix=#{prefix}"
system "make", "install"
end
end