Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d545e779a5
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (20 sloc) 0.698 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
require 'formula'

class Rsync < Formula
  url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz'
  homepage 'http://rsync.samba.org/'
  md5 '5ee72266fe2c1822333c407e1761b92b'

  depends_on 'libiconv'

  def patches
    base = "http://gitweb.samba.org/?p=rsync-patches.git;a=blob_plain;hb=v3.0.9;f="
    ["#{base}fileflags.diff", "#{base}crtimes.diff", "#{base}hfs-compression.diff"]
  end

  def install
    system "./prepare-source"
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--with-rsyncd-conf=#{etc}/rsyncd.conf",
                          "--enable-ipv6"
    system "make"
    system "make install"
  end
end
Something went wrong with that request. Please try again.