2013-05-16 23:16:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mackup < Formula
|
|
|
|
homepage 'https://github.com/lra/mackup'
|
2014-02-22 07:30:47 +00:00
|
|
|
url 'https://github.com/lra/mackup/archive/0.7.tar.gz'
|
|
|
|
sha1 '6876f5b08c80f1ff11570e5a1db073a2c080dcf2'
|
2014-01-26 09:32:12 +00:00
|
|
|
|
|
|
|
head 'https://github.com/lra/mackup.git'
|
|
|
|
|
|
|
|
depends_on :python
|
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
|