2013-05-16 23:16:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mackup < Formula
|
|
|
|
homepage 'https://github.com/lra/mackup'
|
2014-03-10 04:50:55 +00:00
|
|
|
url 'https://github.com/lra/mackup/archive/0.7.1.tar.gz'
|
|
|
|
sha1 'e09606708d9a61dfa5e574b789f4f858ad7fe2e2'
|
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
|