DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / libs / libgcrypt / Makefile
index f71c33560de28f09e0e39a9e000a9968da38809e..2e6ec7b3a4a9d3a93e059d380b35f0ad427ce2c2 100644 (file)
@@ -27,16 +27,18 @@ define Package/libgcrypt
   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 \
@@ -53,14 +55,14 @@ define Build/Compile
 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
@@ -72,7 +74,7 @@ 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