diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-17 11:21:32 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-03-17 11:21:32 +0000 |
commit | dbff23b6d2c92e976875a3c242e062eeaa8ac71f (patch) | |
tree | cbe439ab815bb2952a4ef995cd4f3a51373e74f9 /openwrt/package/libiconv | |
parent | 77b9b056276a23bc81b561029e42104e7f41ed58 (diff) | |
download | mtk-20170518-dbff23b6d2c92e976875a3c242e062eeaa8ac71f.zip mtk-20170518-dbff23b6d2c92e976875a3c242e062eeaa8ac71f.tar.gz mtk-20170518-dbff23b6d2c92e976875a3c242e062eeaa8ac71f.tar.bz2 |
install libiconv in an unusual place, suggested by nico, otherwise other packages will pick it up
SVN-Revision: 3392
Diffstat (limited to 'openwrt/package/libiconv')
-rw-r--r-- | openwrt/package/libiconv/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/openwrt/package/libiconv/Makefile b/openwrt/package/libiconv/Makefile index 277a03d..fbbd52f 100644 --- a/openwrt/package/libiconv/Makefile +++ b/openwrt/package/libiconv/Makefile @@ -1,4 +1,4 @@ -# $Id4 +# $Id$ include $(TOPDIR)/rules.mk @@ -60,28 +60,24 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBICONV): install -d -m0755 $(IDIR_LIBICONV)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libiconv.so* $(IDIR_LIBICONV)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so* $(IDIR_LIBICONV)/usr/lib/ chmod 0644 $(IDIR_LIBICONV)/usr/lib/* $(RSTRIP) $(IDIR_LIBICONV) $(IPKG_BUILD) $(IDIR_LIBICONV) $(PACKAGE_DIR) -$(STAGING_DIR)/usr/lib/libiconv.so: $(PKG_BUILD_DIR)/.built - mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/ - mkdir -p $(STAGING_DIR)/usr/lib/ - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libiconv.* $(STAGING_DIR)/usr/lib/ +$(STAGING_DIR)/usr/lib/iconv/libiconv.so: $(PKG_BUILD_DIR)/.built + mkdir -p $(STAGING_DIR)/usr/include/iconv + $(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/iconv + mkdir -p $(STAGING_DIR)/usr/lib/iconv + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.* $(STAGING_DIR)/usr/lib/iconv touch $@ -install-dev: $(STAGING_DIR)/usr/lib/libiconv.so +install-dev: $(STAGING_DIR)/usr/lib/iconv/libiconv.so uninstall-dev: rm -rf \ - $(STAGING_DIR)/usr/include/iconv.h \ - $(STAGING_DIR)/usr/lib/libiconv.* \ + $(STAGING_DIR)/usr/include/iconv \ + $(STAGING_DIR)/usr/lib/iconv \ compile: install-dev clean: uninstall-dev - -mostlyclean: - $(MAKE) -C $(PKG_BUILD_DIR) clean - rm -f $(PKG_BUILD_DIR)/.built |