Commit 4f664ab2 authored by Satadru Pramanik's avatar Satadru Pramanik

gpgme to 1.15.1

parent b12ad2bc
......@@ -3,32 +3,36 @@ require 'package'
class Gpgme < Package
description 'GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications.'
homepage 'https://www.gnupg.org/related_software/gpgme/index.html'
version '1.11.1'
@_ver = '1.15.1'
version @_ver
compatibility 'all'
source_url 'https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.11.1.tar.bz2'
source_sha256 '2d1b111774d2e3dd26dcd7c251819ce4ef774ec5e566251eb9308fa7542fbd6f'
source_url "https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-#{@_ver}.tar.bz2"
source_sha256 'eebc3c1b27f1c8979896ff361ba9bb4778b508b2496c2fc10e3775a40b1de1ad'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.11.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.11.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.11.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.11.1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.15.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.15.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.15.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gpgme-1.15.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '8d4ba8c7327038226808c7399a73e1f1b36060a72a52578f7f659fe214a87746',
armv7l: '8d4ba8c7327038226808c7399a73e1f1b36060a72a52578f7f659fe214a87746',
i686: 'f659ac710ffcd4c6f3738af64a358af2f1053e411964629a0d6e40d221d436ef',
x86_64: 'e875258d9fcc951237149d954b549a45f384a6b23e2c596ec555f761b7600035',
binary_sha256({
aarch64: 'cefc164ba4ee3297c69c23c247c48cc26aea6f8bf060ff428d03d3288bffbffb',
armv7l: 'cefc164ba4ee3297c69c23c247c48cc26aea6f8bf060ff428d03d3288bffbffb',
i686: '828ebe648f313eb3849d0fc1b09f287159ec658438b0917d2cea9938da173924',
x86_64: '63a1accd77f24e417dc9ca519a142303d2083f1fa49af2bb3edb6b3fc08e0677'
})
depends_on 'gnupg'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", '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