libiconv-full: add clause to Makefile to actually install iconv
authorFlorian Fainelli <florian@openwrt.org>
Wed, 5 Dec 2012 18:05:04 +0000 (18:05 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 5 Dec 2012 18:05:04 +0000 (18:05 +0000)
At present, if you select the iconv utility it will be built but not
installed. This patch adds the clauses necessary to the Makefile to
actually install iconv.

Signed-off-by: Mike Brady <mikebrady@eircom.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34530

package/libs/libiconv-full/Makefile

index 6ce0589030f2bb5ff6b6016e436ac06f7358112c..75bca833484b02a06ed66194c81d6a317e2fa372 100644 (file)
@@ -83,6 +83,11 @@ define Package/libiconv-full/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so* $(1)/usr/lib/
 endef
 
+define Package/iconv/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/iconv $(1)/usr/bin/
+endef
+
 $(eval $(call BuildPackage,libcharset))
 $(eval $(call BuildPackage,libiconv-full))
 $(eval $(call BuildPackage,iconv))