|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=libgcrypt |
|
|
PKG_NAME:=libgcrypt |
|
|
PKG_VERSION:=1.8.7 |
|
|
PKG_VERSION:=1.8.7 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/libgcrypt/ |
|
|
PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/libgcrypt/ |
|
@ -59,9 +59,8 @@ define Build/InstallDev |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{la,a,so*} $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{la,a,so*} $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/ |
|
|
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(1)/usr/bin/libgcrypt-config |
|
|
|
|
|
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/libgcrypt-config |
|
|
|
|
|
ln -sf $(STAGING_DIR)/usr/bin/libgcrypt-config $(2)/bin/ |
|
|
|
|
|
|
|
|
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/libgcrypt-config |
|
|
|
|
|
$(LN) ../../usr/bin/libgcrypt-config $(2)/bin/libgcrypt-config |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/libgcrypt/install |
|
|
define Package/libgcrypt/install |
|
|