2 # Copyright (C) 2006-2010 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
14 PKG_SOURCE
:=$(PKG_NAME
)-55_1-src.tgz
15 PKG_SOURCE_URL
:=http
://download.icu-project.org
/files
/icu4c
/55.1
16 PKG_MD5SUM
:=e2d523df79d6cb7855c2fbe284f4db29
18 PKG_LICENSE
:=ICU-1.8
.1+
19 PKG_LICENSE_FILES
:=license.html
21 PKG_MAINTAINER
:=Mirko Vogt
<mirko@openwrt.org
>
25 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
27 PKG_BUILD_DEPENDS
:=icu
/host
30 include $(INCLUDE_DIR
)/package.mk
31 include $(INCLUDE_DIR
)/host-build.mk
33 TAR_OPTIONS
+= icu
/source
--strip-components
2
34 TAR_CMD
=$(HOST_TAR
) -C
$(1) $(TAR_OPTIONS
)
39 TITLE
:=International Components for Unicode
40 URL
:=http
://icu-project.org
41 DEPENDS
:=+libstdcpp
+libpthread
44 define Build
/Configure
45 $(call Build
/Configure
/Default
, \
60 --with-cross-build
="$(HOST_BUILD_DIR)" \
64 define Build
/InstallDev
69 $(PKG_INSTALL_DIR
)/usr
/include/* \
76 $(PKG_INSTALL_DIR
)/usr
/lib
/* \
83 define Package
/icu
/install
88 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* \
92 $(eval
$(call BuildPackage
,icu
))
93 $(eval
$(call HostBuild
))