Files
chromebrew/packages/help2man.rb
Ed Reel df801b93f5 Update binary_url to github in all packages (#5675)
Add gh.sh script to tools

Add .gitignore

Update download_binary.sh

Update README.md
2021-04-21 15:39:00 -04:00

34 lines
1.4 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.47.4'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/help2man/help2man-1.47.4.tar.xz'
source_sha256 'd4ecf697d13f14dd1a78c5995f06459bff706fd1ce593d1c02d81667c0207753'
binary_url ({
aarch64: 'https://github.com/chromebrew/binaries/raw/main/armv7l/help2man-1.47.4-chromeos-armv7l.tar.xz',
armv7l: 'https://github.com/chromebrew/binaries/raw/main/armv7l/help2man-1.47.4-chromeos-armv7l.tar.xz',
i686: 'https://github.com/chromebrew/binaries/raw/main/i686/help2man-1.47.4-chromeos-i686.tar.xz',
x86_64: 'https://github.com/chromebrew/binaries/raw/main/x86_64/help2man-1.47.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cc7d19aaa9ecb015b68f54d1d58308bf8c280a2a0248d0b1b27b6e6ae282fb5d',
armv7l: 'cc7d19aaa9ecb015b68f54d1d58308bf8c280a2a0248d0b1b27b6e6ae282fb5d',
i686: '05026d7d242bb60cc357cbdb91bcf0cb701240ed748952cecb088a7b8902b89e',
x86_64: '2b80d202e591f249ff3760a33d4e8457dd78cc260549d2fc7a24b84a37b7c168',
})
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end