Commit a566200f authored by satmandu's avatar satmandu Committed by GitHub

zlibpkg: Don't remove static lib (#4802)

* Don't remove static lib
* Add  binaries
parent ca85a8a4
...@@ -3,23 +3,24 @@ require 'package' ...@@ -3,23 +3,24 @@ require 'package'
class Zlibpkg < Package class Zlibpkg < Package
description 'zlib is a massively spiffy yet delicately unobtrusive compression library.' description 'zlib is a massively spiffy yet delicately unobtrusive compression library.'
homepage 'http://www.zlib.net/' homepage 'http://www.zlib.net/'
version '1.2.11-2' version '1.2.11-3'
compatibility 'all' compatibility 'all'
source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz' source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz'
source_sha256 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1' source_sha256 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/zlibpkg-1.2.11-3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '05c91e73a746eb34abebaf8ca8d22732d67465299aa5c3127fb74916e15d6323',
armv7l: '05c91e73a746eb34abebaf8ca8d22732d67465299aa5c3127fb74916e15d6323',
i686: '0302d82be0083ab3034909c0111ccddf8d94e83bf0a6218523d49d502876796b',
x86_64: '79e08846bb5d73f07cfe0a515cf46a060c2f96ad95651e7d2e5bced93f52ade4',
}) })
binary_sha256 ({
aarch64: '32adce95047eab53e31ee93794255159cc839ef5cdac1da46ed0ff5a15812df4',
armv7l: '32adce95047eab53e31ee93794255159cc839ef5cdac1da46ed0ff5a15812df4',
i686: 'd74959077aadf86030e2acd969923d23fa042d67bf5f1fe1cc91af09816f70e6',
x86_64: '8fab32aaf18449efe4140af1cd2af1abaf7543314524508b888d7ef4019d581f',
})
def self.build def self.build
system './configure', system './configure',
...@@ -34,8 +35,5 @@ class Zlibpkg < Package ...@@ -34,8 +35,5 @@ class Zlibpkg < Package
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# remove static library since there is no configuration option to not create it.
FilUtils.rm "#{CREW_DEST_LIB_PREFIX}/libz.a"
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