mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
23 lines
596 B
Ruby
23 lines
596 B
Ruby
require 'package'
|
|
|
|
class Tmux < Package
|
|
description 'tmux is a terminal multiplexer'
|
|
homepage 'http://tmux.github.io/'
|
|
version '2.6'
|
|
source_url 'https://github.com/tmux/tmux/releases/download/2.6/tmux-2.6.tar.gz'
|
|
source_sha256 'b17cd170a94d7b58c0698752e1f4f263ab6dc47425230df7e53a6435cc7cd7e8'
|
|
|
|
depends_on 'readline'
|
|
depends_on 'libevent'
|
|
depends_on 'ncurses'
|
|
|
|
def self.build
|
|
system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses ./configure --prefix=#{CREW_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|