homebrew-core/Formula/slrn.rb
Victor Martinez 8dc451e3e2 Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00

26 lines
801 B
Ruby

require 'formula'
class Slrn < Formula
homepage 'http://slrn.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/slrn/slrn/slrn-1.0.1.tar.gz'
sha1 '9ad41ec3894d2b6b1ae8f158e994a8f138540baa'
head 'git://git.jedsoft.org/git/slrn.git'
depends_on 's-lang'
def install
slrnpullcache = HOMEBREW_PREFIX+'var/spool/news/slrnpull'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-ssl",
"--with-slrnpull=#{slrnpullcache}",
"--with-slang=#{HOMEBREW_PREFIX}"
system "make all slrnpull"
bin.mkpath
man1.mkpath
slrnpullcache.mkpath
ENV.j1 # yep, install is broken
system "make install"
end
end