homebrew-core/Formula/slrn.rb
Eric Davis 10bca2378c slrn 1.0.1
Closes Homebrew/homebrew#16742.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-12-25 15:12:49 -08:00

24 lines
753 B
Ruby

require 'formula'
class Slrn < Formula
url 'http://sourceforge.net/projects/slrn/files/slrn/slrn-1.0.1.tar.gz'
homepage 'http://slrn.sourceforge.net/'
sha1 '9ad41ec3894d2b6b1ae8f158e994a8f138540baa'
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