Update zlibpkg to 1.2.11

Add build and check method
parent d47fad3f
require 'package' require 'package'
class Zlibpkg < Package class Zlibpkg < Package
version '1.2.8' version '1.2.11'
binary_url ({ source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz'
aarch64: 'https://dl.dropboxusercontent.com/s/7y34bh0wph4iipa/zlibpkg-1.2.8-chromeos-armv7l.tar.xz', source_sha1 'e6d119755acdf9104d7ba236b1242696940ed6dd'
armv7l: 'https://dl.dropboxusercontent.com/s/7y34bh0wph4iipa/zlibpkg-1.2.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.dropboxusercontent.com/s/ljhhvr12u1izayj/zlib-1.2.8-chromeos-i686.tar.gz?token_hash=AAEABTatYkxOOybZGoCj3Kg_DKEbFbSfolzZklfHwCsP_A&dl=1', def self.build
x86_64: 'https://dl.dropboxusercontent.com/s/h4lqj0rnand0jqu/zlib-1.2.8-chromeos-x86_64.tar.gz?token_hash=AAGabAMhX4CGpzhpkcuKMmmWPxFZDiNOC-r9B0o7x4D7eQ&dl=1', system "./configure"
}) system "make"
binary_sha1 ({ end
aarch64: '85980c0e6765e6264b191db1fa4c58508e663d3f',
armv7l: '85980c0e6765e6264b191db1fa4c58508e663d3f', def self.install
i686: 'e02974780bfb3bf46940183043d15897a765ab4e', system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
x86_64: 'cb764e22b68b7e2884372708b5b585d11efca972', # remove static library since there is no configuration option to not create it.
}) system "rm", "#{CREW_DEST_DIR}/usr/local/lib/libz.a"
end
def self.check
system "make check"
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