summaryrefslogtreecommitdiff
path: root/package/libgcrypt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-13 22:27:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-13 22:27:48 +0200
commit71242d66a32a9e3e552c9cee6d6f6e703ff0797b (patch)
tree4fde8a4656be336d8e81330e5d4cc226170a31fe /package/libgcrypt
parentbf62091b68e248270e432d935709ca5c95d1ae16 (diff)
rework post-install
Be sure to execute post-install as last step after populating staging dir.
Diffstat (limited to 'package/libgcrypt')
-rw-r--r--package/libgcrypt/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/libgcrypt/Makefile b/package/libgcrypt/Makefile
index d308952fa..c5fb7ab8a 100644
--- a/package/libgcrypt/Makefile
+++ b/package/libgcrypt/Makefile
@@ -24,15 +24,15 @@ $(eval $(call PKG_template,LIBGCRYPT,libgcrypt,$(PKG_VERSION)-$(PKG_RELEASE),$(P
CONFIGURE_ARGS+= --disable-asm \
--with-gpg-error-prefix="$(STAGING_TARGET_DIR)/usr"
+libgcrypt-install:
+ $(INSTALL_DIR) $(IDIR_LIBGCRYPT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgcrypt.so* \
+ $(IDIR_LIBGCRYPT)/usr/lib
+
post-install:
# provides own automake macros
$(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/share/aclocal
$(CP) $(WRKINST)/usr/share/aclocal/libgcrypt.m4 \
$(STAGING_HOST_DIR)/usr/share/aclocal
-libgcrypt-install:
- $(INSTALL_DIR) $(IDIR_LIBGCRYPT)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libgcrypt.so* \
- $(IDIR_LIBGCRYPT)/usr/lib
-
include $(ADK_TOPDIR)/mk/pkg-bottom.mk