Commit 9a31beed authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1361 from uberhacker/add-cmus-package

Add cmus package
parents 6082c428 2701734d
require 'package'
class Cmus < Package
description 'cmus is a small, fast and powerful console music player for Unix-like operating systems.'
homepage 'https://cmus.github.io/'
version '2.7.1'
source_url 'https://github.com/cmus/cmus/archive/v2.7.1.tar.gz'
source_sha256 '8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165'
depends_on 'ffmpeg'
def self.build
system "sed -i 's,/usr/include,#{CREW_PREFIX}/include,g' configure"
system "./configure prefix=#{CREW_PREFIX} libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment