aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-21 08:17:45 -0700
committerAdam Vandenberg2014-05-21 08:18:11 -0700
commitc295e0d9ff38f4666e4e5a3abbcec9cce1aab359 (patch)
treecd3c0ba12aaa92ea02d3d44a9e89c18ca2fee030 /Library
parentb1999de1a6f135c0052c8389e4540fe6423fe0ad (diff)
downloadhomebrew-c295e0d9ff38f4666e4e5a3abbcec9cce1aab359.tar.bz2
cmus 2.5.1, 2.6.0-rc0
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cmus.rb38
1 files changed, 23 insertions, 15 deletions
diff --git a/Library/Formula/cmus.rb b/Library/Formula/cmus.rb
index c5c3d28a3..bef3acf25 100644
--- a/Library/Formula/cmus.rb
+++ b/Library/Formula/cmus.rb
@@ -1,22 +1,30 @@
-require 'formula'
+require "formula"
class Cmus < Formula
- homepage 'http://cmus.sourceforge.net/'
- url 'https://downloads.sourceforge.net/cmus/cmus-v2.5.0.tar.bz2'
- sha1 '244975a5ff642567acb047f6bd518e4a3271c25b'
+ homepage "http://cmus.sourceforge.net/"
+ head "https://git.gitorious.org/cmus/cmus.git"
- head 'https://git.gitorious.org/cmus/cmus.git'
+ stable do
+ url "https://github.com/cmus/cmus/archive/v2.5.1.tar.gz"
+ sha1 "fd6c63c7cb405e4b4fea6a737074c454f602c202"
+ end
+
+ devel do
+ url "https://github.com/cmus/cmus/archive/v2.6.0-rc0.tar.gz"
+ version "2.6.0-rc0"
+ sha1 "08f7f038d4fa14fe0e1b7dea5df137ada11401f3"
+ end
- depends_on 'pkg-config' => :build
- depends_on 'libao'
- depends_on 'mad'
- depends_on 'libogg'
- depends_on 'libvorbis'
- depends_on 'faad2'
- depends_on 'flac'
- depends_on 'mp4v2'
- depends_on 'libcue'
- depends_on 'ffmpeg' => :optional
+ depends_on "pkg-config" => :build
+ depends_on "libao"
+ depends_on "mad"
+ depends_on "libogg"
+ depends_on "libvorbis"
+ depends_on "faad2"
+ depends_on "flac"
+ depends_on "mp4v2"
+ depends_on "libcue"
+ depends_on "ffmpeg" => :optional
def install
system "./configure", "prefix=#{prefix}", "mandir=#{man}"