# Description: A general purpose crypto library based on the code used in GnuPG.
# URL:  http://ftp.gnupg.org/gcrypt/libgcrypt/
# Packager: pierre at nutyx dot org
# Depends on: libgpg-error

name=libgcrypt
version=1.6.5
release=1

source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2 )

build() {
cd $name-$version
./configure --prefix=/usr --disable-static
make
make DESTDIR=$PKG install

rm -f $PKG/usr/share/info/dir

install -v -dm755 $PKG/usr/share/doc/libgcrypt-$version
install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
$PKG/usr/share/doc/libgcrypt-$version
}
