homebrew-core/Formula/slrn.rb

25 lines
753 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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
2012-02-10 06:32:55 +00:00
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
2010-12-11 20:38:45 +00:00
slrnpullcache.mkpath
2010-01-24 12:23:20 +00:00
ENV.j1 # yep, install is broken
system "make install"
end
end