mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Add unbuilt libgcrypt to updater-libgcrypt-1.11.2 * Remove patches. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-libgcrypt-1.11.2: Build Run on linux/amd64. * updater-libgcrypt-1.11.2: Build Run on linux/386. * updater-libgcrypt-1.11.2: Package File Update Run on linux/386 container. * updater-libgcrypt-1.11.2: Package File Update Run on linux/arm/v7 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
28 lines
1.0 KiB
Ruby
28 lines
1.0 KiB
Ruby
require 'buildsystems/autotools'
|
|
|
|
class Libgcrypt < Autotools
|
|
description 'Libgcrypt is a general purpose cryptographic library originally based on code from GnuPG.'
|
|
homepage 'https://www.gnupg.org/related_software/libgcrypt/index.html'
|
|
version '1.11.2'
|
|
license 'LGPL-2.1 and MIT'
|
|
compatibility 'all'
|
|
source_url "https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-#{version}.tar.bz2"
|
|
source_sha256 '6ba59dd192270e8c1d22ddb41a07d95dcdbc1f0fb02d03c4b54b235814330aac'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '4159c1ad66fabb3db314f97c94f986b5195c357c313eaca916af5e6e3e06b95b',
|
|
armv7l: '4159c1ad66fabb3db314f97c94f986b5195c357c313eaca916af5e6e3e06b95b',
|
|
i686: 'ecc138567f57120938ff9e267f29ea3487684eeb01bcfc91d873ecaa6f50b7e1',
|
|
x86_64: '8c2c775817ea36f9863be6604755bea8c25600df65d1323b02924d409dcc83bf'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'libgpg_error' # R
|
|
|
|
autotools_configure_options '--enable-static \
|
|
--enable-shared'
|
|
run_tests
|
|
end
|