2012-12-29 23:51:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Osxutils < Formula
|
|
|
|
homepage 'https://github.com/vasi/osxutils'
|
2013-11-06 06:11:41 +00:00
|
|
|
head 'https://github.com/vasi/osxutils.git'
|
2013-11-22 01:53:36 +00:00
|
|
|
url 'https://github.com/vasi/osxutils/archive/v1.8.1.tar.gz'
|
|
|
|
sha1 'b6c0e2b0c699a4bf9d51c582c8107ce40cfdec8b'
|
2012-12-29 23:51:24 +00:00
|
|
|
|
2013-11-06 06:11:41 +00:00
|
|
|
conflicts_with 'trash', :because => 'both install a trash binary'
|
2013-09-03 00:16:46 +00:00
|
|
|
conflicts_with 'leptonica',
|
|
|
|
:because => "both leptonica and osxutils ship a `fileinfo` executable."
|
|
|
|
|
2012-12-29 23:51:24 +00:00
|
|
|
def install
|
|
|
|
system 'make'
|
|
|
|
system 'make', "PREFIX=#{prefix}", 'install'
|
|
|
|
end
|
|
|
|
end
|