1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/gnupg/gnupg.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
14 if [[ $xsrctar = *gnupg* ]]; then
15 chmod +s $root$bindir/gpg # Insecure mem waring
16 install doc/gpg.1 $root$mandir/man1/
18 ln -svf pgpgpg $root$bindir/pgp
19 cp -v ../pgpgpg-*/README $root$docdir/pgpgpg.txt
24 if [[ ${xsrctar} != *gnupg* ]]; then
29 hook_add postmake 5 "pm_main"
30 hook_add prepatch 9 "gnupg_checkpatch"
32 if pkginstalled openldap; then
34 var_append configprefix " " 'CFLAGS="-I$( pkgprefix includedir openldap )"'
35 var_append configprefix " " 'LDFLAGS="-L$( pkgprefix libdir openldap )"'
38 [ $arch = powerpc64 ] && var_append confopt ' ' --disable-asm