diff options
| author | Alexander Chernyshev | 2010-07-15 15:22:15 +0400 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-07-15 09:06:30 -0700 | 
| commit | e5a871bd2298be7ed99bff72ba3fd80fe214bf7b (patch) | |
| tree | e1788af8120b2cb940207ce81a19f572bdb470b6 /Library/Formula/bsdiff.rb | |
| parent | bf5bdccd196934ddfc189bcd1e229f86df6a955a (diff) | |
| download | homebrew-e5a871bd2298be7ed99bff72ba3fd80fe214bf7b.tar.bz2 | |
Added a formula for bsdiff
Diffstat (limited to 'Library/Formula/bsdiff.rb')
| -rw-r--r-- | Library/Formula/bsdiff.rb | 31 | 
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/bsdiff.rb b/Library/Formula/bsdiff.rb new file mode 100644 index 000000000..e33fdced0 --- /dev/null +++ b/Library/Formula/bsdiff.rb @@ -0,0 +1,31 @@ +require 'formula' + +class Bsdiff <Formula +  url 'http://www.daemonology.net/bsdiff/bsdiff-4.3.tar.gz' +  homepage 'http://www.daemonology.net/bsdiff' +  md5 'e6d812394f0e0ecc8d5df255aa1db22a' + +  def patches +    DATA +  end + +  def install +  	system "/usr/bin/bsdmake" +  	bin.install "bsdiff" +  	man1.install "bsdiff.1" +  end +end + +__END__ +diff --git a/bspatch.c b/bspatch.c +index 643c60b..543379c 100644 +--- a/bspatch.c ++++ b/bspatch.c +@@ -28,6 +28,7 @@ + __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59:06 cperciva Exp $"); + #endif +  ++#include <sys/types.h> + #include <bzlib.h> + #include <stdlib.h> + #include <stdio.h>  | 
