CATEGORY:=Libraries
DEPENDS:=+libgpg-error
TITLE:=GNU crypto library
- DESCRIPTION:=\
- 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.
URL:=http://directory.fsf.org/security/libgcrypt.html
endef
+define Package/libgcrypt/description
+ 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.
+endef
+
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
endef
define Build/InstallDev
- mkdir -p $(STAGING_DIR)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(STAGING_DIR)/usr/bin/
- mkdir -p $(STAGING_DIR)/usr/include
- $(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(STAGING_DIR)/usr/include/
- mkdir -p $(STAGING_DIR)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{a,so*} $(STAGING_DIR)/usr/lib/
- mkdir -p $(STAGING_DIR)/usr/share/aclocal
- $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(STAGING_DIR)/usr/share/aclocal/
+ mkdir -p $(1)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/
+ mkdir -p $(1)/usr/include
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/
+ mkdir -p $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{a,so*} $(1)/usr/lib/
+ mkdir -p $(1)/usr/share/aclocal
+ $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/
endef
define Build/UninstallDev
endef
define Package/libgcrypt/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.so.* $(1)/usr/lib/
endef