2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=gconv-modules
11 PKG_VERSION:=$(CONFIG_GLIBC_VERSION)
14 include $(INCLUDE_DIR)/package.mk
16 define Package/gconv-modules
20 TITLE:=The GNU libc charset conversion modules
23 define Package/gconv-modules/description
24 This package contains helper modules necessary to convert data between
31 define Package/gconv-modules/install
32 $(INSTALL_DIR) $(1)/usr/lib
33 $(CP) $(TOOLCHAIN_DIR)/usr/lib/gconv $(1)/usr/lib
35 rm -f $(1)/usr/lib/gconv/EUC-*.so
36 rm -f $(1)/usr/lib/gconv/ISO-2022-*.so
37 rm -f $(1)/usr/lib/gconv/JOHAB.so
38 rm -f $(1)/usr/lib/gconv/UHC.so
40 # $(INSTALL_DIR) $(1)/usr/bin
41 # $(INSTALL_BIN) $(TOOLCHAIN_DIR)/usr/bin/iconv $(1)/usr/bin
44 $(eval $(call BuildPackage,gconv-modules))