Commit 2fe6a13f authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1913 from uberhacker/add-argon2-package

Add argon2 package
parents 5423515d 96f4a212
require 'package'
class Argon2 < Package
description 'The password hash Argon2, winner of PHC'
homepage 'https://github.com/P-H-C/phc-winner-argon2'
version '20171227'
source_url 'https://github.com/P-H-C/phc-winner-argon2/archive/20171227.tar.gz'
source_sha256 'eaea0172c1f4ee4550d1b6c9ce01aab8d1ab66b4207776aa67991eb5872fdcd8'
binary_url ({
})
binary_sha256 ({
})
def self.build
system 'make'
end
def self.install
system 'make',
"PREFIX=#{CREW_PREFIX}",
"LIBDIR=#{CREW_LIB_PREFIX}",
"DESTDIR=#{CREW_DEST_DIR}",
'install'
system "install -Dm644 man/argon2.1 #{CREW_DEST_PREFIX}/share/man/man1/argon2.1"
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