Revert commit; really gconv-modules shouldn't be in base and installed by default
[openwrt/svn-archive/archive.git] / libs / gconv-modules / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gconv-modules
11 PKG_VERSION:=1
12 PKG_RELEASE:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/gconv-modules
17 SECTION:=libs
18 CATEGORY:=Libraries
19 DEPENDS:=@USE_GLIBC
20 DEFAULT:=n
21 TITLE:=The GNU libc charset conversion modules
22 endef
23
24 define Package/gconv-modules/description
25 This package contains helper modules necessary to convert data between
26 various charsets.
27 endef
28
29 define Build/Compile
30 endef
31
32 define Package/gconv-modules/install
33 $(INSTALL_DIR) $(1)/usr/lib
34 $(CP) $(TOOLCHAIN_DIR)/usr/lib/gconv $(1)/usr/lib
35
36 rm -f $(1)/usr/lib/gconv/EUC-*.so
37 rm -f $(1)/usr/lib/gconv/ISO-2022-*.so
38 rm -f $(1)/usr/lib/gconv/JOHAB.so
39 rm -f $(1)/usr/lib/gconv/UHC.so
40
41 # $(INSTALL_DIR) $(1)/usr/bin
42 # $(INSTALL_BIN) $(TOOLCHAIN_DIR)/usr/bin/iconv $(1)/usr/bin
43 endef
44
45 $(eval $(call BuildPackage,gconv-modules))