2009-12-27 20:35:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Slrn < Formula
|
2012-12-25 17:12:48 +00:00
|
|
|
homepage 'http://slrn.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/slrn/slrn/slrn-1.0.1.tar.gz'
|
2012-12-25 17:12:48 +00:00
|
|
|
sha1 '9ad41ec3894d2b6b1ae8f158e994a8f138540baa'
|
2009-12-27 20:35:00 +00:00
|
|
|
|
2013-02-19 13:32:29 +00:00
|
|
|
head 'git://git.jedsoft.org/git/slrn.git'
|
|
|
|
|
2009-12-27 20:35:00 +00:00
|
|
|
depends_on 's-lang'
|
|
|
|
|
|
|
|
def install
|
2012-02-10 06:32:55 +00:00
|
|
|
slrnpullcache = HOMEBREW_PREFIX+'var/spool/news/slrnpull'
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-ssl",
|
2011-03-03 09:16:50 +00:00
|
|
|
"--with-slrnpull=#{slrnpullcache}",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--with-slang=#{HOMEBREW_PREFIX}"
|
2009-12-27 20:35:00 +00:00
|
|
|
system "make all slrnpull"
|
2010-04-07 05:58:35 +00:00
|
|
|
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
|
2009-12-27 20:35:00 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|