Commit 554aa5f0 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #648 from jam7/update/less

Update less to 487 and change to install stripped less.
parents 28b477e4 df54c9ca
require 'package'
class Less < Package
version '481'
source_url 'ftp://ftp.gnu.org/gnu/less/less-481.tar.gz'
source_sha1 '58e7e62a760a9ca3636349de8e3357f7102aea1d'
version '487'
source_url 'http://www.greenwoodsoftware.com/less/less-487.tar.gz'
source_sha1 '8a5c4be2a51f11543793defec7ccb77c525f007e'
depends_on 'buildessential' => :build
depends_on 'ncurses'
depends_on 'buildessential'
depends_on 'ncurses'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
def self.check
system "make", "check"
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