distribution/packages/security/gnupg/package.mk

24 lines
695 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="gnupg"
PKG_VERSION="1.4.23"
PKG_LICENSE="GPL"
PKG_SITE="https://gnupg.org/ftp/gcrypt/gnupg"
PKG_URL="${PKG_SITE}/gnupg-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain zlib libgpg-error libgcrypt"
PKG_LONGDESC="The GNU Privacy Guard (GnuPG, GPG) is a complete and free implementation
of the OpenPGP and S/MIME standards."
PKG_CONFIGURE_OPTS_TARGET=" --disable-rpath \
--enable-minimal \
--disable-regex \
--disable-asm \
--enable-bzip2 \
--enable-aes \
--enable-rsa"
pre_configure_target() {
export CFLAGS="${CFLAGS} -fcommon"
}