mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
34 lines
1.3 KiB
Ruby
34 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Gifsicle < Package
|
|
description 'Gifsicle is a command-line tool for creating, editing, and getting information about GIF images and animations.'
|
|
homepage 'http://www.lcdf.org/gifsicle/'
|
|
version '1.89'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/kohler/gifsicle/archive/v1.89.tar.gz'
|
|
source_sha256 '9b19ff8d50d88af5a5151eaf9e62beb1dd5b72002e7b7cc3aec9b385780e6b83'
|
|
|
|
binary_url ({
|
|
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gifsicle-1.89-chromeos-armv7l.tar.xz',
|
|
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gifsicle-1.89-chromeos-armv7l.tar.xz',
|
|
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gifsicle-1.89-chromeos-i686.tar.xz',
|
|
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gifsicle-1.89-chromeos-x86_64.tar.xz',
|
|
})
|
|
binary_sha256 ({
|
|
aarch64: '6cbb8a84e03b8446d26d94341d166917ae50919a6148d2ce2da54e103ebf6310',
|
|
armv7l: '6cbb8a84e03b8446d26d94341d166917ae50919a6148d2ce2da54e103ebf6310',
|
|
i686: '5e6e15e3ff4093e5b287ceecd60f170cf32275761aa60f706977a746eb58f3a3',
|
|
x86_64: 'fd897442df51c04763921fbcba22143079eab0e6127ee2c031103f93768c755a',
|
|
})
|
|
|
|
def self.build
|
|
system './bootstrap.sh'
|
|
system './configure --without-x --disable-gifview'
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|