mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Adjust gnu sources to not use ftpmirror. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * ed => 1.22.5 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mark packages from successful builds as automatically buildable. * gnu_avoid_ftpmirror: Package File Update Run on linux/386 container. * gnu_avoid_ftpmirror: Package File Update Run on linux/amd64 container. * gnu_avoid_ftpmirror: Package File Update Run on linux/arm/v7 container. * Truncate PR Title length as per GitHub requirements. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust gnuastro compatibility. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
32 lines
1.1 KiB
Ruby
32 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Shtool < Package
|
|
description 'GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool.'
|
|
homepage 'https://www.gnu.org/software/shtool/'
|
|
version '2.0.8'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url 'https://ftp.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz'
|
|
source_sha256 '1298a549416d12af239e9f4e787e6e6509210afb49d5cf28eb6ec4015046ae19'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'aa29d402a98610a0191860e03429d0247a49d1e3158349a49f9daea57ba35f99',
|
|
armv7l: 'aa29d402a98610a0191860e03429d0247a49d1e3158349a49f9daea57ba35f99',
|
|
i686: 'b28b62a0e0343d20c0b56e968eb622ca3e05aa21839034cbee45f25966d372a4',
|
|
x86_64: '1ba8270fd8bfc04dbaa68cfec0f257c94e7bcd3b8e1a62637e80681dde3cb85f'
|
|
})
|
|
|
|
def self.build
|
|
system './configure'
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
|
|
system "mkdir -p #{CREW_DEST_PREFIX}/man/man1"
|
|
system "cp shtool #{CREW_DEST_PREFIX}/bin"
|
|
system "cp *.1 #{CREW_DEST_PREFIX}/man/man1"
|
|
end
|
|
end
|