Browse Source

Merge pull request #3974 from nxhack/use_STAGING_DIR_HOSTPKG

icu: move necessary files to STAGING_DIR_HOSTPKG
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
e456ecf9a5
1 changed files with 11 additions and 4 deletions
  1. +11
    -4
      libs/icu/Makefile

+ 11
- 4
libs/icu/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=icu4c PKG_NAME:=icu4c
PKG_VERSION:=58.2 PKG_VERSION:=58.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-58_2-src.tgz PKG_SOURCE:=$(PKG_NAME)-58_2-src.tgz
PKG_SOURCE_URL:=http://download.icu-project.org/files/$(PKG_NAME)/$(PKG_VERSION) PKG_SOURCE_URL:=http://download.icu-project.org/files/$(PKG_NAME)/$(PKG_VERSION)
@ -56,7 +56,7 @@ CONFIGURE_ARGS:= \
--disable-tools \ --disable-tools \
--disable-tests \ --disable-tests \
--disable-samples \ --disable-samples \
--with-cross-build="$(HOST_BUILD_DIR)" \
--with-cross-build="$(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)" \
--prefix=/usr --prefix=/usr
HOST_CONFIGURE_CMD:= ./runConfigureICU HOST_CONFIGURE_CMD:= ./runConfigureICU
@ -90,7 +90,14 @@ define Build/InstallDev
$(1)/usr/lib/ $(1)/usr/lib/
endef endef
define Host/install
define Host/Install
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/config
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/bin
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/lib
$(INSTALL_DATA) $(HOST_BUILD_DIR)/config/icucross.* $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/config/
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/icupkg $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/bin/
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/pkgdata $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/bin/
$(CP) $(HOST_BUILD_DIR)/lib/*.so* $(STAGING_DIR_HOSTPKG)/share/icu/$(PKG_VERSION)/lib/
endef endef
define Package/icu/install define Package/icu/install
@ -98,7 +105,7 @@ define Package/icu/install
$(1)/usr/lib $(1)/usr/lib
$(CP) \ $(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.so.* \
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
$(1)/usr/lib/ $(1)/usr/lib/
endef endef


Loading…
Cancel
Save