[packages] polarssl: update to 0.14.2, fix & add descriptions
[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:=$(CONFIG_GLIBC_VERSION)
12 PKG_RELEASE:=2
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/gconv-modules
17 SECTION:=libs
18 CATEGORY:=Libraries
19 DEPENDS:=@USE_GLIBC
20 TITLE:=The GNU libc charset conversion modules
21 endef
22
23 define Package/gconv-modules/description
24 This package contains helper modules necessary to convert data between
25 various charsets.
26 endef
27
28 define Build/Compile
29 endef
30
31 define Package/gconv-modules/install
32 $(INSTALL_DIR) $(1)/usr/lib
33 $(CP) $(TOOLCHAIN_DIR)/usr/lib/gconv $(1)/usr/lib
34
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
39
40 # $(INSTALL_DIR) $(1)/usr/bin
41 # $(INSTALL_BIN) $(TOOLCHAIN_DIR)/usr/bin/iconv $(1)/usr/bin
42 endef
43
44 $(eval $(call BuildPackage,gconv-modules))