2013-05-16 23:16:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mackup < Formula
|
|
|
|
homepage 'https://github.com/lra/mackup'
|
2014-05-28 17:29:47 +00:00
|
|
|
url 'https://github.com/lra/mackup/archive/0.7.3.tar.gz'
|
|
|
|
sha1 'c0d03ebd1232da760358dc01d9760a8ec819f727'
|
2014-01-26 09:32:12 +00:00
|
|
|
|
|
|
|
head 'https://github.com/lra/mackup.git'
|
|
|
|
|
2013-05-16 23:16:57 +00:00
|
|
|
def install
|
2014-02-01 05:39:35 +00:00
|
|
|
system 'python', 'setup.py', 'install', "--prefix=#{prefix}"
|
2014-01-26 09:32:12 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2014-02-17 02:27:09 +00:00
|
|
|
system "#{bin}/mackup", '--help'
|
2013-05-16 23:16:57 +00:00
|
|
|
end
|
|
|
|
end
|