Commit 09880614 authored by Michał Siwek's avatar Michał Siwek

Merge pull request #15 from appelgriebsch/tmux

Merge updates & fixes from @appelgriebsch
parents 6e783d06 61847ebc
require 'package' # include package class file
class Libevent < Package # name the package and make it a Package class instance
version '2.0.21' # software version
source_url 'https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz' # software source tarball url
source_sha1 '3e6674772eb77de24908c6267c698146420ab699' # source tarball sha1 sum
def self.build # self.build contains commands needed to build the software from source
system "./configure"
system "make" # ordered chronologically
end
def self.install # self.install contains commands needed to install the software on the target system
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end # during installation
end
require 'package' # include package class file
class Tmux < Package # name the package and make it a Package class instance
version '1.9a' # software version
source_url 'http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz' # software source tarball url
source_sha1 '815264268e63c6c85fe8784e06a840883fcfc6a2' # source tarball sha1 sum
depends_on 'readline' # software dependencies
depends_on 'libevent'
depends_on 'ncurses'
def self.build # self.build contains commands needed to build the software from source
system "CPPFLAGS=-I/usr/local/include/ncurses ./configure"
system "make" # ordered chronologically
end
def self.install # self.install contains commands needed to install the software on the target system
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end # during installation
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