Update make to 4.2

Add source compile and check methods
parent 031dc177
require 'package'
class Make < Package
version '3.82'
binary_url ({
aarch64: 'https://dl.dropboxusercontent.com/s/2s68lllqlsix15i/make-3.82-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.dropboxusercontent.com/s/2s68lllqlsix15i/make-3.82-chromeos-armv7l.tar.xz',
i686: 'https://dl.dropboxusercontent.com/s/f6pg4bkg6m3vn7q/make-3.82-chromeos-i686.tar.gz?token_hash=AAHP__I3leN8BCLdP0pLbkNopoFGGhDuKX0sN-I6Zx4JYg&dl=1',
x86_64: 'https://dl.dropboxusercontent.com/s/t818zxgixti6wvl/make-3.82-chromeos-x86_64.tar.gz?token_hash=AAGLBxpwv2mZj7dAgnzdmfFcO8G28wbCfb0lPM8_qwRtSA&dl=1',
})
binary_sha1 ({
aarch64: 'eb98493bf26f8ce670c12005b6a6f3c93f9a634d',
armv7l: 'eb98493bf26f8ce670c12005b6a6f3c93f9a634d',
i686: 'ccb01c7358e5abdf8b06305eb31b1969b8b174f7',
x86_64: '2bab91837440d101eb55129f41a7837101249b46',
})
version '4.2'
source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2'
source_sha1 'd78b84a219b4c16593544f541dff7eb765ce3d74'
def self.build
system "./configure"
system "./build.sh"
end
def self.install
system "./make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
def self.check
# Give it several tries since output-sync fails rarely
system "./make check || ./make check || ./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