mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Add binary_compression value to each package * Remove binary_url values and arrays * Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
30 lines
895 B
Ruby
30 lines
895 B
Ruby
require 'package'
|
|
|
|
class Figlet < Package
|
|
description 'FIGlet is a program for making large letters out of ordinary text.'
|
|
homepage 'http://www.figlet.org/'
|
|
version '2.2.5-a565ae1'
|
|
license 'BSD'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/cmatsuoka/figlet.git'
|
|
git_hashtag 'a565ae1e8f8254044219260dda2a6b51984930dc'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '49d91067c62e2bf4d74047211638a4319c3190c82b3636709cc055d011a26665',
|
|
armv7l: '49d91067c62e2bf4d74047211638a4319c3190c82b3636709cc055d011a26665',
|
|
i686: 'f50377baacc1c0e7f8c07065837408d4ffbfbeda0ce7d35194f99304ced70914',
|
|
x86_64: 'bf7c55cceb0b1eb05c92e278c7792b3d80c1730edf14238e5382d6bf1f524f56'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
|
|
def self.build
|
|
system 'make', "PREFIX=#{CREW_PREFIX}"
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|