Commit dc7a46c5 authored by Ed Reel's avatar Ed Reel

Update less from 530 to 563

parent 305ad265
...@@ -3,38 +3,32 @@ require 'package' ...@@ -3,38 +3,32 @@ require 'package'
class Less < Package class Less < Package
description 'GNU less is a program similar to more, but which allows backward movement in the file as well as forward movement.' description 'GNU less is a program similar to more, but which allows backward movement in the file as well as forward movement.'
homepage 'https://www.gnu.org/software/less/' homepage 'https://www.gnu.org/software/less/'
version '530' version '563'
compatibility 'all' compatibility 'all'
source_url 'http://www.greenwoodsoftware.com/less/less-530.tar.gz' source_url 'http://www.greenwoodsoftware.com/less/less-563.tar.gz'
source_sha256 '503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2' source_sha256 'ce5b6d2b9fc4442d7a07c93ab128d2dff2ce09a1d4f2d055b95cf28dd0dc9a9a'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/less-530-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/less-563-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/less-530-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/less-563-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/less-530-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/less-563-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/less-530-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/less-563-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '9f5b24b30b0eda422aa07c5cf34614403a561ecf80049ef16b85d4b6aafaf131', aarch64: '7cb60d2d83031342ee8b5bfc57291e4a8e140a14635760034a38d96fa7f085ab',
armv7l: '9f5b24b30b0eda422aa07c5cf34614403a561ecf80049ef16b85d4b6aafaf131', armv7l: '7cb60d2d83031342ee8b5bfc57291e4a8e140a14635760034a38d96fa7f085ab',
i686: '8807c4e382fe778a6518f3dfe11bf4eba3747dfb749383312263ebf42c9aedbd', i686: '586086877e087bfb5577d8283b90e6bca71212b03c2286997a9dfa67d7638bb9',
x86_64: '163b184835f8094de3e87319f21d0b6d246a5add03f7cc7e9252e2de7555b321', x86_64: '0136439b108a87c3b1fbf0a05a89dbbccc4aaf740a2fce5dee9f1a46fe2ef363',
}) })
depends_on 'compressdoc' => :build
depends_on 'ncurses' depends_on 'ncurses'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --with-regex=posix" system "./configure #{CREW_OPTIONS} --with-regex=posix"
system "make" system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
end
def self.check
system "make", "check"
end end
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