aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/discodex.rb
blob: bcbe498a141c86f865f3fd5a33e22419d58e5a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'

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