Commit 3f101c1e authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #602 from Kriskras99/optipng-patch

Fix build problems on armv7l for optipng
parents 1e66052f f9b5e069
require 'package'
class Optipng < Package
version '0.7.6'
version '0.7.6-1'
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
depends_on 'libpng'
depends_on 'zlibpkg'
def self.build
system "./configure --prefix=/usr/local"
system "./configure --prefix=/usr/local --with-system-libpng" # Bundled libpng doesn't work on armv7l
system "make"
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