From: Marcel Lorenz mlorenz@ipfire.org
--- config/rootfiles/common/icu | 259 ++++++++++++++++++++++++++++++++++++++++++++ lfs/icu | 77 +++++++++++++ make.sh | 1 + 3 files changed, 337 insertions(+) create mode 100644 config/rootfiles/common/icu create mode 100644 lfs/icu
diff --git a/config/rootfiles/common/icu b/config/rootfiles/common/icu new file mode 100644 index 0000000..14c9f10 --- /dev/null +++ b/config/rootfiles/common/icu @@ -0,0 +1,259 @@ +#usr/bin/derb +#usr/bin/genbrk +#usr/bin/gencfu +#usr/bin/gencnval +#usr/bin/gendict +#usr/bin/genrb +usr/bin/icu-config +usr/bin/icuinfo +usr/bin/makeconv +usr/bin/pkgdata +usr/bin/uconv +#usr/include/layout +#usr/include/layout/LEFontInstance.h +#usr/include/layout/LEGlyphFilter.h +#usr/include/layout/LEGlyphStorage.h +#usr/include/layout/LEInsertionList.h +#usr/include/layout/LELanguages.h +#usr/include/layout/LEScripts.h +#usr/include/layout/LESwaps.h +#usr/include/layout/LETableReference.h +#usr/include/layout/LETypes.h +#usr/include/layout/LayoutEngine.h +#usr/include/layout/ParagraphLayout.h +#usr/include/layout/RunArrays.h +#usr/include/layout/loengine.h +#usr/include/layout/playout.h +#usr/include/layout/plruns.h +#usr/include/unicode +#usr/include/unicode/alphaindex.h +#usr/include/unicode/appendable.h +#usr/include/unicode/basictz.h +#usr/include/unicode/brkiter.h +#usr/include/unicode/bytestream.h +#usr/include/unicode/bytestrie.h +#usr/include/unicode/bytestriebuilder.h +#usr/include/unicode/calendar.h +#usr/include/unicode/caniter.h +#usr/include/unicode/chariter.h +#usr/include/unicode/choicfmt.h +#usr/include/unicode/coleitr.h +#usr/include/unicode/coll.h +#usr/include/unicode/compactdecimalformat.h +#usr/include/unicode/curramt.h +#usr/include/unicode/currpinf.h +#usr/include/unicode/currunit.h +#usr/include/unicode/datefmt.h +#usr/include/unicode/dbbi.h +#usr/include/unicode/dcfmtsym.h +#usr/include/unicode/decimfmt.h +#usr/include/unicode/docmain.h +#usr/include/unicode/dtfmtsym.h +#usr/include/unicode/dtintrv.h +#usr/include/unicode/dtitvfmt.h +#usr/include/unicode/dtitvinf.h +#usr/include/unicode/dtptngen.h +#usr/include/unicode/dtrule.h +#usr/include/unicode/enumset.h +#usr/include/unicode/errorcode.h +#usr/include/unicode/fieldpos.h +#usr/include/unicode/filteredbrk.h +#usr/include/unicode/fmtable.h +#usr/include/unicode/format.h +#usr/include/unicode/fpositer.h +#usr/include/unicode/gender.h +#usr/include/unicode/gregocal.h +#usr/include/unicode/icudataver.h +#usr/include/unicode/icuplug.h +#usr/include/unicode/idna.h +#usr/include/unicode/listformatter.h +#usr/include/unicode/localpointer.h +#usr/include/unicode/locdspnm.h +#usr/include/unicode/locid.h +#usr/include/unicode/measfmt.h +#usr/include/unicode/measunit.h +#usr/include/unicode/measure.h +#usr/include/unicode/messagepattern.h +#usr/include/unicode/msgfmt.h +#usr/include/unicode/normalizer2.h +#usr/include/unicode/normlzr.h +#usr/include/unicode/numfmt.h +#usr/include/unicode/numsys.h +#usr/include/unicode/parseerr.h +#usr/include/unicode/parsepos.h +#usr/include/unicode/platform.h +#usr/include/unicode/plurfmt.h +#usr/include/unicode/plurrule.h +#usr/include/unicode/ptypes.h +#usr/include/unicode/putil.h +#usr/include/unicode/rbbi.h +#usr/include/unicode/rbnf.h +#usr/include/unicode/rbtz.h +#usr/include/unicode/regex.h +#usr/include/unicode/region.h +#usr/include/unicode/reldatefmt.h +#usr/include/unicode/rep.h +#usr/include/unicode/resbund.h +#usr/include/unicode/schriter.h +#usr/include/unicode/scientificnumberformatter.h +#usr/include/unicode/search.h +#usr/include/unicode/selfmt.h +#usr/include/unicode/simpletz.h +#usr/include/unicode/smpdtfmt.h +#usr/include/unicode/sortkey.h +#usr/include/unicode/std_string.h +#usr/include/unicode/strenum.h +#usr/include/unicode/stringpiece.h +#usr/include/unicode/stringtriebuilder.h +#usr/include/unicode/stsearch.h +#usr/include/unicode/symtable.h +#usr/include/unicode/tblcoll.h +#usr/include/unicode/timezone.h +#usr/include/unicode/tmunit.h +#usr/include/unicode/tmutamt.h +#usr/include/unicode/tmutfmt.h +#usr/include/unicode/translit.h +#usr/include/unicode/tzfmt.h +#usr/include/unicode/tznames.h +#usr/include/unicode/tzrule.h +#usr/include/unicode/tztrans.h +#usr/include/unicode/ubidi.h +#usr/include/unicode/ubrk.h +#usr/include/unicode/ucal.h +#usr/include/unicode/ucasemap.h +#usr/include/unicode/ucat.h +#usr/include/unicode/uchar.h +#usr/include/unicode/ucharstrie.h +#usr/include/unicode/ucharstriebuilder.h +#usr/include/unicode/uchriter.h +#usr/include/unicode/uclean.h +#usr/include/unicode/ucnv.h +#usr/include/unicode/ucnv_cb.h +#usr/include/unicode/ucnv_err.h +#usr/include/unicode/ucnvsel.h +#usr/include/unicode/ucol.h +#usr/include/unicode/ucoleitr.h +#usr/include/unicode/uconfig.h +#usr/include/unicode/ucsdet.h +#usr/include/unicode/ucurr.h +#usr/include/unicode/udat.h +#usr/include/unicode/udata.h +#usr/include/unicode/udateintervalformat.h +#usr/include/unicode/udatpg.h +#usr/include/unicode/udisplaycontext.h +#usr/include/unicode/uenum.h +#usr/include/unicode/ufieldpositer.h +#usr/include/unicode/uformattable.h +#usr/include/unicode/ugender.h +#usr/include/unicode/uidna.h +#usr/include/unicode/uiter.h +#usr/include/unicode/uldnames.h +#usr/include/unicode/ulistformatter.h +#usr/include/unicode/uloc.h +#usr/include/unicode/ulocdata.h +#usr/include/unicode/umachine.h +#usr/include/unicode/umisc.h +#usr/include/unicode/umsg.h +#usr/include/unicode/unifilt.h +#usr/include/unicode/unifunct.h +#usr/include/unicode/unimatch.h +#usr/include/unicode/unirepl.h +#usr/include/unicode/uniset.h +#usr/include/unicode/unistr.h +#usr/include/unicode/unorm.h +#usr/include/unicode/unorm2.h +#usr/include/unicode/unum.h +#usr/include/unicode/unumsys.h +#usr/include/unicode/uobject.h +#usr/include/unicode/upluralrules.h +#usr/include/unicode/uregex.h +#usr/include/unicode/uregion.h +#usr/include/unicode/urename.h +#usr/include/unicode/urep.h +#usr/include/unicode/ures.h +#usr/include/unicode/uscript.h +#usr/include/unicode/usearch.h +#usr/include/unicode/uset.h +#usr/include/unicode/usetiter.h +#usr/include/unicode/ushape.h +#usr/include/unicode/uspoof.h +#usr/include/unicode/usprep.h +#usr/include/unicode/ustdio.h +#usr/include/unicode/ustream.h +#usr/include/unicode/ustring.h +#usr/include/unicode/ustringtrie.h +#usr/include/unicode/utext.h +#usr/include/unicode/utf.h +#usr/include/unicode/utf16.h +#usr/include/unicode/utf32.h +#usr/include/unicode/utf8.h +#usr/include/unicode/utf_old.h +#usr/include/unicode/utmscale.h +#usr/include/unicode/utrace.h +#usr/include/unicode/utrans.h +#usr/include/unicode/utypes.h +#usr/include/unicode/uvernum.h +#usr/include/unicode/uversion.h +#usr/include/unicode/vtzone.h +#usr/lib/icu +#usr/lib/icu/56.1 +#usr/lib/icu/56.1/Makefile.inc +#usr/lib/icu/56.1/pkgdata.inc +#usr/lib/icu/Makefile.inc +#usr/lib/icu/current +#usr/lib/icu/pkgdata.inc +usr/lib/libicudata.so +usr/lib/libicudata.so.56 +usr/lib/libicudata.so.56.1 +usr/lib/libicui18n.so +usr/lib/libicui18n.so.56 +usr/lib/libicui18n.so.56.1 +usr/lib/libicuio.so +usr/lib/libicuio.so.56 +usr/lib/libicuio.so.56.1 +usr/lib/libicule.so +usr/lib/libicule.so.56 +usr/lib/libicule.so.56.1 +usr/lib/libiculx.so +usr/lib/libiculx.so.56 +usr/lib/libiculx.so.56.1 +usr/lib/libicutest.so +usr/lib/libicutest.so.56 +usr/lib/libicutest.so.56.1 +usr/lib/libicutu.so +usr/lib/libicutu.so.56 +usr/lib/libicutu.so.56.1 +usr/lib/libicuuc.so +usr/lib/libicuuc.so.56 +usr/lib/libicuuc.so.56.1 +usr/lib/pkgconfig/icu-i18n.pc +usr/lib/pkgconfig/icu-io.pc +usr/lib/pkgconfig/icu-le.pc +usr/lib/pkgconfig/icu-lx.pc +usr/lib/pkgconfig/icu-uc.pc +#usr/sbin/genccode +#usr/sbin/gencmn +#usr/sbin/gennorm2 +#usr/sbin/gensprep +usr/sbin/icupkg +#usr/share/icu +#usr/share/icu/56.1 +#usr/share/icu/56.1/config +#usr/share/icu/56.1/config/mh-linux +#usr/share/icu/56.1/install-sh +#usr/share/icu/56.1/license.html +#usr/share/icu/56.1/mkinstalldirs +#usr/share/man/man1/derb.1 +#usr/share/man/man1/genbrk.1 +#usr/share/man/man1/gencfu.1 +#usr/share/man/man1/gencnval.1 +#usr/share/man/man1/gendict.1 +#usr/share/man/man1/genrb.1 +#usr/share/man/man1/icu-config.1 +#usr/share/man/man1/makeconv.1 +#usr/share/man/man1/pkgdata.1 +#usr/share/man/man1/uconv.1 +#usr/share/man/man8/genccode.8 +#usr/share/man/man8/gencmn.8 +#usr/share/man/man8/gensprep.8 +#usr/share/man/man8/icupkg.8 diff --git a/lfs/icu b/lfs/icu new file mode 100644 index 0000000..27d6921 --- /dev/null +++ b/lfs/icu @@ -0,0 +1,77 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2015 IPFire Team info@ipfire.org # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 56_1-src + +THISAPP = icu4c-$(VER) +DL_FILE = $(THISAPP).tgz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/icu +TARGET = $(DIR_INFO)/icu +PROG = icu +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) +$(DL_FILE)_MD5 = c4a2d71ff56aec5ebfab2a3f059be99d +install : $(TARGET) +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) +download :$(patsubst %,$(DIR_DL)/%,$(objects)) +md5 : $(subst %,%_MD5,$(objects)) +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP)/source && ./configure --prefix=/usr + cd $(DIR_APP)/source && make $(MAKETUNING) + cd $(DIR_APP)/source && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 319bfb4..b8c33fa 100755 --- a/make.sh +++ b/make.sh @@ -334,6 +334,7 @@ buildbase() { lfsmake2 libmpc lfsmake2 file lfsmake2 gcc + lfsmake2 icu lfsmake2 sed lfsmake2 berkeley lfsmake2 berkeley-compat