homebrew-core/Formula/elinks.rb

54 lines
1 KiB
Ruby
Raw Normal View History

require 'formula'
2009-08-29 17:22:57 +00:00
2011-03-10 05:11:03 +00:00
class Elinks < Formula
homepage 'http://elinks.or.cz/'
url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
2012-07-07 18:08:22 +00:00
sha1 'd13edc1477d0ab32cafe7d3c1f3a23ae1c0a5c54'
2009-08-29 17:22:57 +00:00
2012-04-19 02:37:43 +00:00
head 'http://elinks.cz/elinks.git'
devel do
url 'http://elinks.cz/download/elinks-0.12pre5.tar.bz2'
2012-09-03 20:29:07 +00:00
version '0.12pre5'
sha1 '15fb38fa938a0eec9d5f22fdd538a6785e2854af'
end
2012-08-28 04:38:10 +00:00
if build.head?
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
end
fails_with :llvm do
build 2326
end
# enables 256 colors, per the manual
def patches
DATA
end
2009-08-29 17:22:57 +00:00
def install
ENV.deparallelize
2009-10-02 20:40:32 +00:00
ENV.delete('LD')
2012-08-28 04:38:10 +00:00
system "./autogen.sh" if 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
__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