bzip2: change to new library paths
[unleashed-userland.git] / components / icu / Makefile
blob32062edcc50e01554e4e4f6f78f2307d55e2afed
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= icu
19 COMPONENT_VERSION= 55.1
20 COMPONENT_UVERSION= 55_1
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= International Components for Unicode
23 COMPONENT_SRC= $(COMPONENT_NAME)
24 COMPONENT_ARCHIVE= icu4c-$(COMPONENT_UVERSION)-src.tgz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b
27 COMPONENT_PROJECT_URL = http://icu-project.org
28 COMPONENT_ARCHIVE_URL = http://download.icu-project.org/files/icu4c/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
31 include ../../make-rules/prep.mk
32 include ../../make-rules/configure.mk
33 include ../../make-rules/ips.mk
35 #COMPONENT_POST_UNPACK_ACTION += ( chmod +x $(@D)/source/configure $(@D)/source/runConfigureICU )
37 # Missing files in build dir for configure without this.
38 #COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D) && cd $(@D) && autoconf )
40 CONFIGURE_SCRIPT = $(SOURCE_DIR)/source/runConfigureICU
41 CONFIGURE_OPTIONS = Solaris/GCC
42 CONFIGURE_OPTIONS+= --with-data-packaging=library
43 CONFIGURE_OPTIONS+= --enable-shared
44 CONFIGURE_OPTIONS+= --enable-static
45 CONFIGURE_OPTIONS+= --disable-samples
46 CONFIGURE_OPTIONS+= --prefix=$(CONFIGURE_PREFIX)
47 CONFIGURE_OPTIONS+= --libdir=$(CONFIGURE_LIBDIR.$(BITS))
48 CONFIGURE_OPTIONS+= --bindir=$(CONFIGURE_BINDIR.$(BITS))
50 CONFIGURE_OPTIONS.32+= --disable-64bit-libs
52 COMPONENT_POST_CONFIGURE_ACTION = (echo 'CPPFLAGS += -DICU_DATA_DIR=\"$(CONFIGURE_PREFIX)/share/icu/$(COMPONENT_VERSION)\"' >> $(@D)/icudefs.mk )
54 build: $(BUILD_32_and_64)
56 install: $(INSTALL_32_and_64)