Commit adc3190b authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #439 from cstrouse/add-optipng

Add optipng (0.7.6) package
parents 0a648ea8 a2c392f0
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