From 3539dd83ad076b6bbaf825f68417d0f7765ef5fa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 23 Dec 2007 01:27:43 +0000 Subject: [PATCH] clean up libcurl staging SVN-Revision: 9864 --- libs/curl/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/curl/Makefile b/libs/curl/Makefile index 7a152ab0d..d954d449a 100644 --- a/libs/curl/Makefile +++ b/libs/curl/Makefile @@ -84,15 +84,15 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(STAGING_DIR_HOST)/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/curl-config $(STAGING_DIR_HOST)/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/curl-config $(2)/bin/ + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/curl $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(STAGING_DIR_HOST)/bin/curl-config + $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(2)/bin/curl-config $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/libcurl.pc endef -- 2.30.2