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