blob: efc2fa328e95605e02f3984e120e227c9bd893dc (
plain)
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
28
29
|
require 'formula'
class Elinks < Formula
homepage 'http://elinks.or.cz/'
url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
sha1 'd13edc1477d0ab32cafe7d3c1f3a23ae1c0a5c54'
head 'http://elinks.cz/elinks.git'
devel do
url 'http://elinks.cz/download/elinks-0.12pre6.tar.bz2'
version '0.12pre6'
sha1 '3517795e8a390cb36ca249a5be6514b9784520a5'
end
if build.head?
depends_on :automake
depends_on :libtool
end
def install
ENV.deparallelize
ENV.delete('LD')
system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}", "--without-spidermonkey",
"--enable-256-colors"
system "make install"
end
end
|