2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-29 17:22:57 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Elinks < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://elinks.or.cz/'
|
|
|
|
url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
|
|
|
|
md5 'fcd087a6d2415cd4c6fd1db53dceb646'
|
2009-08-29 17:22:57 +00:00
|
|
|
|
2012-04-19 02:37:43 +00:00
|
|
|
head 'http://elinks.cz/elinks.git'
|
2011-04-26 15:38:34 +00:00
|
|
|
|
2012-03-09 02:43:58 +00:00
|
|
|
devel do
|
|
|
|
version '0.12pre5'
|
|
|
|
url 'http://elinks.cz/download/elinks-0.12pre5.tar.bz2'
|
|
|
|
md5 '92790144290131ac5e63b44548b45e08'
|
|
|
|
end
|
|
|
|
|
2012-02-28 15:39:22 +00:00
|
|
|
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
end
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2326
|
|
|
|
end
|
|
|
|
|
2011-12-06 11:00:08 +00:00
|
|
|
# enables 256 colors, per the manual
|
|
|
|
def patches
|
|
|
|
DATA
|
|
|
|
end
|
|
|
|
|
2009-08-29 17:22:57 +00:00
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
ENV.deparallelize
|
2009-10-02 20:40:32 +00:00
|
|
|
ENV.delete('LD')
|
2011-04-26 15:38:34 +00:00
|
|
|
system "./autogen.sh" if ARGV.build_head?
|
2010-10-17 00:54:53 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--without-spidermonkey"
|
2009-08-29 17:22:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
2011-12-06 11:00:08 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/features.conf b/features.conf
|
|
|
|
index 1c0095c..7ee8b0d 100644
|
|
|
|
--- a/features.conf
|
|
|
|
+++ b/features.conf
|
|
|
|
@@ -501,7 +501,7 @@ CONFIG_88_COLORS=no
|
|
|
|
#
|
|
|
|
# Default: disabled
|
|
|
|
|
|
|
|
-CONFIG_256_COLORS=no
|
|
|
|
+CONFIG_256_COLORS=yes
|
|
|
|
|
|
|
|
|
|
|
|
### Ex-mode Interface
|
|
|
|
|