mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* gparted -> 1.8.1 in updater-gparted-1.8.1 * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container. * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * Cleanup gparted. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update dependencies to use :executable instead of :executable_only Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
36 lines
1.1 KiB
Ruby
36 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Make < Package
|
|
description 'GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program\'s source files.'
|
|
homepage 'https://www.gnu.org/software/make/'
|
|
version '4.4.1'
|
|
license 'GPL-3+'
|
|
compatibility 'all'
|
|
source_url "https://ftp.gnu.org/gnu/make/make-#{version}.tar.lz"
|
|
source_sha256 '8814ba072182b605d156d7589c19a43b89fc58ea479b9355146160946f8cf6e9'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'eff1ea4983d10785fce3c1660f2ca564e3931fbe061b82632cce58a35b13efeb',
|
|
armv7l: 'eff1ea4983d10785fce3c1660f2ca564e3931fbe061b82632cce58a35b13efeb',
|
|
i686: '71eeab28cc8e7d89b71cc6e1a71548638c8c8155348320679a1164e7731d88da',
|
|
x86_64: '2ba3b3be1433ecdce1e52fb023a91a64b11d429ca5e119264c20972e9d1befd7'
|
|
})
|
|
|
|
depends_on 'glibc' => :executable
|
|
|
|
def self.build
|
|
system "./configure #{CREW_CONFIGURE_OPTIONS} \
|
|
--enable-cross-guesses=conservative"
|
|
system './build.sh'
|
|
end
|
|
|
|
def self.check
|
|
system './make check'
|
|
end
|
|
|
|
def self.install
|
|
system './make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|