Add gifsicle package

This commit is contained in:
Ed Reel
2017-08-05 23:57:52 -05:00
committed by Kazushi (Jam) Marukawa
parent 2bd612f445
commit e7475bd23a

19
packages/gifsicle.rb Normal file
View File

@@ -0,0 +1,19 @@
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'
source_url 'https://github.com/kohler/gifsicle/archive/v1.89.tar.gz'
source_sha256 '9b19ff8d50d88af5a5151eaf9e62beb1dd5b72002e7b7cc3aec9b385780e6b83'
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