Commit 86f13d9b authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[New Package] libdeflate (#5217)

* [New Package] libdeflate

* make prefix and libdir work

*  elegance 
parent 84e11d9a
require 'package'
class Libdeflate < Package
description 'Heavily optimized library for DEFLATE compression and decompression'
homepage 'https://github.com/ebiggers/libdeflate/'
version '1.7'
compatibility 'all'
source_url 'https://github.com/ebiggers/libdeflate/archive/v1.7.tar.gz'
source_sha256 'a5e6a0a9ab69f40f0f59332106532ca76918977a974e7004977a9498e3f11350'
def self.build
system 'make', "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}"
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}", '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