Package: libgcrypt-shlibs Version: 1.5.6 Revision: 2 Source: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%v.tar.bz2 Source-Checksum: SHA256(301826b5e521c867056fd630aad6f0a60e176d18a017da6bc24b1695df3abe79) Depends: libgpg-error-shlibs (>= 1.27-1) BuildDepends: << fink-package-precedence, libgpg-error (>= 1.27-1) << Conflicts: libgcrypt (<<1.5.6-2) Replaces: libgcrypt (<<1.5.6-2) ConfigureParams: << --disable-asm \ --enable-dependency-tracking << # libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in # mpih-div.c error: invalid use of a cast in a inline asm context # requiring an l-value: remove the cast SetCFLAGS: -fheinous-gnu-extensions -std=gnu89 PatchScript: << # Patch configure to not link like Puma on Yosemite perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep=libgcrypt . << InfoTest: TestScript: make check || exit 2 InstallScript: << #!/bin/sh -ev make install DESTDIR=%d pushd %i rm -r bin rm -r include rm lib/libgcrypt.{dylib,la} rm -r share/aclocal rm -r share/info << DocFiles: AUTHORS COPYING* ChangeLog NEWS README* THANKS TODO Shlibs: %p/lib/libgcrypt.11.dylib 20.0.0 %n (>= 1.5.6-1) Description: GNU cryptographic library DescDetail: << This is a general purpose cryptographic library based on the code from GnuPG. It provides functions for all cryptograhic building blocks: symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large integer functions, random numbers and a lot of supporting functions. << DescPackaging: << Previous versions of this package included libgcrypt-pthread*.dylib. This is no longer a part of the upstream distribution, so its gone too. << License: GPL/LGPL Maintainer: Dave Reiser Homepage: http://directory.fsf.org/project/libgcrypt/