GnuPG

From CBLFS
Revision as of 05:33, 13 October 2006 by Manphiz (talk | contribs)
Jump to navigationJump to search
Download Source: http://public.ftp.planetmirror.com/pub/gnupg/gnupg-1.4.5.tar.bz2

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package

make install &&
chmod -v 4755 /usr/bin/gpg &&
install -v -m755 -d /usr/share/doc/gnupg-1.4.5 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-1.4.5

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --libexecdir=/usr/lib &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --libexecdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --libexecdir=/usr/lib64 &&
make

Install the package

make install &&
chmod -v 4755 /usr/bin/gpg &&
install -v -m755 -d /usr/share/doc/gnupg-1.4.3 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-1.4.5

Documentation

If you would like to building the documentation and have TeTeX installed run the following command:

make -C doc pdf ps html &&
makeinfo --plaintext -o doc/gpg.txt doc/gpg.texi &&
makeinfo --plaintext -o doc/gpgv.txt doc/gpgv.texi

Install the documentation:

cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-1.4.5
Retrieved from "?title=GnuPG&oldid=2870"