mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
29 lines
999 B
Ruby
29 lines
999 B
Ruby
require 'package'
|
|
|
|
class Autoconf_archive < Package
|
|
description 'GNU Autoconf Archive is a collection of freely re-usable Autoconf macros.'
|
|
homepage 'https://www.gnu.org/software/autoconf-archive/'
|
|
version '2022.09.13'
|
|
license 'GPL-3'
|
|
compatibility 'all'
|
|
source_url 'https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2022.09.03.tar.xz'
|
|
source_sha256 'e07454f00d8cae7907bed42d0747798927809947684d94c37207a4d63a32f423'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '20358b2576af31e463bcfbaa6f99470729cf1eb483531079b9e534c691648594',
|
|
armv7l: '20358b2576af31e463bcfbaa6f99470729cf1eb483531079b9e534c691648594',
|
|
i686: 'a9daa783895ede3d7b2b3fcbc75fd35257414eb612477fbac6389502138fba7b',
|
|
x86_64: '812f12231da8f71a5bf358cd70564975e6709e54fbcd06d6a9c58cb6d662aec8'
|
|
})
|
|
|
|
def self.build
|
|
system "./configure #{CREW_CONFIGURE_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|