From 4bee8c7f432065973bac7166ededfb6c5f2ff5fd Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Wed, 28 Nov 2007 08:56:24 +0000 Subject: Move libgcrypt from lib to usr/lib, update libgcrypt.la --- package/libgcrypt/libgcrypt.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index cb21c4727..65e795331 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -8,7 +8,7 @@ LIBGCRYPT_SOURCE:=libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 LIBGCRYPT_SITE:=ftp://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/ LIBGCRYPT_DIR:=$(BUILD_DIR)/libgcrypt-$(LIBGCRYPT_VERSION) LIBGCRYPT_LIBRARY:=src/libgcrypt.la -LIBGCRYPT_DESTDIR:=lib +LIBGCRYPT_DESTDIR:=usr/lib LIBGCRYPT_TARGET_LIBRARY=$(LIBGCRYPT_DESTDIR)/libgcrypt.so $(DL_DIR)/$(LIBGCRYPT_SOURCE): @@ -36,7 +36,7 @@ $(LIBGCRYPT_DIR)/.configured: $(LIBGCRYPT_DIR)/.source --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ - --libdir=/lib \ + --libdir=/usr/lib \ --libexecdir=/$(LIBGCRYPT_DESTDIR) \ --sysconfdir=/etc \ --datadir=/usr/share \ @@ -53,6 +53,7 @@ $(LIBGCRYPT_DIR)/$(LIBGCRYPT_LIBRARY): $(LIBGCRYPT_DIR)/.configured $(STAGING_DIR)/$(LIBGCRYPT_TARGET_LIBRARY): $(LIBGCRYPT_DIR)/$(LIBGCRYPT_LIBRARY) $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(STAGING_DIR) -C $(LIBGCRYPT_DIR) install + $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libgcrypt.la touch -c $@ $(TARGET_DIR)/$(LIBGCRYPT_TARGET_LIBRARY): $(STAGING_DIR)/$(LIBGCRYPT_TARGET_LIBRARY) @@ -68,6 +69,7 @@ libgcrypt-source: $(DL_DIR)/$(LIBGCRYPT_SOURCE) libgcrypt-clean: rm -f $(TARGET_DIR)/$(LIBGCRYPT_TARGET_LIBRARY)* -$(MAKE) -C $(LIBGCRYPT_DIR) clean + rm -rf $(STAGING_DIR)/$(LIBGCRYPT_TARGET_LIBRARY)\* libgcrypt-dirclean: rm -rf $(LIBGCRYPT_DIR) -- cgit v1.2.3