Commit c92b6302 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1314 from cstrouse/update-libpng

Update libpng from 1.6.32 to 1.6.33
parents 3e076029 2e1cdd90
...@@ -3,29 +3,25 @@ require 'package' ...@@ -3,29 +3,25 @@ require 'package'
class Libpng < Package class Libpng < Package
description 'libpng is the official PNG reference library.' description 'libpng is the official PNG reference library.'
homepage 'http://libpng.org/pub/png/libpng.html' homepage 'http://libpng.org/pub/png/libpng.html'
version '1.6.32' version '1.6.33'
source_url 'http://prdownloads.sourceforge.net/libpng/libpng-1.6.32.tar.gz' source_url 'http://prdownloads.sourceforge.net/libpng/libpng-1.6.33.tar.gz'
source_sha256 '1a8ae5c8eafad895cc3fce78fbcb6fdef663b8eb8375f04616e6496360093abb' source_sha256 '6a6bacae7510dd53321af0604182b6c731a09457e3ddb8d9668bbce614a2751f'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.32-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.32-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.32-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libpng-1.6.32-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '575871d19e38d2cc4e51889bd3f7866b12dd52d9929d66830065c0f490c3a7e7',
armv7l: '575871d19e38d2cc4e51889bd3f7866b12dd52d9929d66830065c0f490c3a7e7',
i686: 'd401afe08f7e1ff6b78e6a12cf89a71214d880bb876a71bd5f764fa787db8c3e',
x86_64: 'aadb3ac7f63711ccd3410a9775053fc9730d7e4462d39efed0c9e0db93fb5bce',
}) })
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking',
'--disable-maintainer-mode'
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
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