diff options
Diffstat (limited to 'package/libgcrypt')
-rw-r--r-- | package/libgcrypt/Config.in | 15 | ||||
-rw-r--r-- | package/libgcrypt/Makefile | 28 | ||||
-rw-r--r-- | package/libgcrypt/ipkg/libgcrypt.control | 6 |
3 files changed, 49 insertions, 0 deletions
diff --git a/package/libgcrypt/Config.in b/package/libgcrypt/Config.in new file mode 100644 index 000000000..fb8a065a6 --- /dev/null +++ b/package/libgcrypt/Config.in @@ -0,0 +1,15 @@ +config ADK_PACKAGE_LIBGCRYPT + prompt "libgcrypt......................... The GNU crypto library" + tristate + default n + select ADK_PACKAGE_LIBGPG_ERROR + help + 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. + + http://directory.fsf.org/security/libgcrypt.html + diff --git a/package/libgcrypt/Makefile b/package/libgcrypt/Makefile new file mode 100644 index 000000000..789466831 --- /dev/null +++ b/package/libgcrypt/Makefile @@ -0,0 +1,28 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= libgcrypt +PKG_VERSION:= 1.4.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 555488ddfc81a6e0df1fb5112e7eee13 +MASTER_SITES:= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --disable-asm \ + --with-gpg-error-prefix="${STAGING_DIR}/usr" +BUILD_STYLE= auto +INSTALL_STYLE= auto confprog + +post-install: + ${INSTALL_DIR} ${IDIR_LIBGCRYPT}/usr/lib + ${CP} ${WRKINST}/usr/lib/libgcrypt.so.* ${IDIR_LIBGCRYPT}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libgcrypt/ipkg/libgcrypt.control b/package/libgcrypt/ipkg/libgcrypt.control new file mode 100644 index 000000000..8cf2b303f --- /dev/null +++ b/package/libgcrypt/ipkg/libgcrypt.control @@ -0,0 +1,6 @@ +Package: libgcrypt +Priority: optional +Section: libs +Description: GNU crypto library +Depends: libgpg-error + |