LIBRARY=libgpg-error
VERSION=1.18
FILE="$LIBRARY-$VERSION"
echo "Fecthing $FILE..."
wget -q "ftp://ftp.gnupg.org/gcrypt/$LIBRARY/$FILE.tar.bz2" -O "$FILE.tar.bz2"
wget -q "ftp://ftp.gnupg.org/gcrypt/$LIBRARY/$FILE.tar.bz2.sig" -O
"$FILE.tar.bz2.sig"
gpg --verify "$FILE.tar.bz2.sig" "$FILE.tar.bz2" --signer-key gpg-signers.pem
if [ -d "$FILE" ]; then rm -rf "$FILE"; fi
tar xjf "$FILE.tar.bz2"
cd "$FILE"
./configure --enable-static --prefix=/usr/local
make
...
$ ./gpg-recipe.sh
Fecthing libgpg-error-1.18...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/jww/gcrypt-2.0/libgpg-error-1.18/build-aux/missing: Unknown
`--is-lightweight' option
Try `/home/jww/gcrypt-2.0/libgpg-error-1.18/build-aux/missing --help' for more
information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
...