mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
28 lines
717 B
Ruby
28 lines
717 B
Ruby
require 'package'
|
|
|
|
class Gnupg < Package
|
|
description 'GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP).'
|
|
homepage 'https://gnupg.org/'
|
|
version '2.1.21'
|
|
source_url 'https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2'
|
|
source_sha256 '7aead8a8ba75b69866f583b6c747d91414d523bfdfbe9a8e0fe026b16ba427dd'
|
|
|
|
depends_on 'bz2'
|
|
depends_on 'automake'
|
|
depends_on 'libgpgerror'
|
|
depends_on 'libgcrypt'
|
|
depends_on 'libassuan'
|
|
depends_on 'libksba'
|
|
depends_on 'npth'
|
|
|
|
def self.build
|
|
system "./autogen.sh"
|
|
system "./configure"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|