homebrew-core/Formula/discodex.rb
Andrew Janke 5422b067d1 disco 0.4.5
Disco 0.3.2 was not building. This addresses it by jumping to a new version.
* Upgrades disco to version 0.4.5.
* Breaks the discodex project out to a separate formula, corresponding
to its reorganization opn GitHub.
* Fixes Python installation paths by passing PY_INSTALL_OPTS through the
Makefile.
* Switches from inreplace() to a patch.
* Uses the official discoproject download instead of the tuulos fork.

Closes Homebrew/homebrew#19202.
Fixes Homebrew/homebrew#18646.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-14 11:17:44 -07:00

16 lines
547 B
Ruby

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