aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/discodex.rb
blob: 44f7a8487f54a6428ff936e21abc56551e984d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Discodex < Formula
  homepage 'https://github.com/discoproject/discodex'
  url 'https://github.com/discoproject/discodex/archive/fa3fa57aa9fcd9c2bd3b4cd2233dc0d051dafc2b.tar.gz'
  version '2012-01-10' # No tags in the project; using date of last commit as a proxy
  sha1 '03a9ce7a8d70c371f4dd3ce2a1e2c72cda1fc1f4'

  depends_on 'disco'
  depends_on :python

  def install
    python do
      # The make target only installs python libs; must manually install the rest
      system "make", "install", "prefix=#{prefix}"
      prefix.install(%w[bin doc])
    end
  end
end