Commit a2c392f0 authored by Casey Strouse's avatar Casey Strouse

Add optipng (0.7.6) package

The OptiPNG program shall attempt to optimize PNG files, i.e. reduce
theiz size to a minimum, without losing semantic information. In addi-
tion, this program shall perform a suite of auxiliary functions like
integrity checks, metadata recovery and pixmap-to-PNG conversion.

Tested as working on Samsung XE50013-K01US.

All tests passed.
https://gist.github.com/cstrouse/bb6a59a0f59348a45721f389bcd9ee53
parent c44dd0c6
require 'package'
class Optipng < Package
version '0.7.6'
source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz'
source_sha1 '3b3e31430e735589470c4af204354d38823f4989'
# NOTE: uses libpng and zlib but uses its own versions of those libraries
def self.build
system "./configure --prefix=/usr/local"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment