Commit aed23353 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #184 from alexzapatka/master

	new file:   packages/screen.rb
parents da6feaf0 874a3490
require 'package' # include package class file
class Screen < Package # name the package and make it a Package class instance
version '4.3.1' # software version
source_url 'ftp://ftp.gnu.org/gnu/screen/screen-4.3.1.tar.gz' # software source tarball url
source_sha1 'a524761504e28480517e338b20c852f2ab100c93' # source tarball sha1 sum
depends_on 'ncurses' # software dependencies
def self.build # self.build contains commands needed to build the software from source
system "./configure --prefix=/usr/local"
system "make" 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