mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
34 lines
1.5 KiB
Ruby
34 lines
1.5 KiB
Ruby
require 'package'
|
|
|
|
class Help2man < Package
|
|
description "help2man produces simple manual pages from the '--help' and '--version' output of other commands."
|
|
homepage 'https://www.gnu.org/software/help2man/'
|
|
version '1.49.2'
|
|
license 'GPL-3'
|
|
compatibility 'all'
|
|
source_url 'https://ftpmirror.gnu.org/help2man/help2man-1.49.2.tar.xz'
|
|
source_sha256 '9e2e0e213a7e0a36244eed6204d902b6504602a578b6ecd15268b1454deadd36'
|
|
|
|
binary_url ({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/help2man/1.49.2_armv7l/help2man-1.49.2-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/help2man/1.49.2_armv7l/help2man-1.49.2-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/help2man/1.49.2_i686/help2man-1.49.2-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/help2man/1.49.2_x86_64/help2man-1.49.2-chromeos-x86_64.tar.zst',
|
|
})
|
|
binary_sha256 ({
|
|
aarch64: '5a452f26ce39181b52ca51fd3fcf0515b79fce7d70ddd51a980cd037a9e8337d',
|
|
armv7l: '5a452f26ce39181b52ca51fd3fcf0515b79fce7d70ddd51a980cd037a9e8337d',
|
|
i686: '198a0bfc1445dad68c2daf9fd877abc9944eabb29b8de91dff2eff475ef6e9fe',
|
|
x86_64: '67d0aebdbc7fc6bb09aa346b95ce40838be4b3a5907870c66ba12ba0c681f5e1',
|
|
})
|
|
|
|
def self.build
|
|
system "./configure #{CREW_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|