61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
15 lines
438 B
Ruby
15 lines
438 B
Ruby
require 'formula'
|
|
|
|
class Rsync <Formula
|
|
url 'http://rsync.samba.org/ftp/rsync/rsync-3.0.6.tar.gz'
|
|
homepage 'http://rsync.samba.org/'
|
|
md5 'e9865d093a18e4668b9d31b635dc8e99'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--with-rsyncd-conf=#{prefix}/etc/rsyncd.conf",
|
|
"--enable-ipv6"
|
|
system "make install"
|
|
end
|
|
end
|