Package: libicu55-dev Version: 55.1 Revision: 1 Source: http://download.icu-project.org/files/icu4c/%v/icu4c-55_1-src.tgz Source-MD5: e2d523df79d6cb7855c2fbe284f4db29 SourceDirectory: icu Conflicts: libicu28, libicu28-dev, libicu30, libicu30-dev, libicu31, libicu31-dev, libicu32-dev, libicu36-dev, libicu48-dev, libicu55-dev Replaces: libicu28, libicu28-dev, libicu30, libicu30-dev, libicu31, libicu31-dev, libicu32-dev, libicu36-dev, libicu48-dev, libicu55-dev BuildDepends: fink (>= 0.24.12-1), fink-package-precedence, flag-sort Depends: libicu55-shlibs (= %v-%r) BuildDependsOnly: true PatchFile: %n.patch PatchFile-MD5: 1ffcb2cf5a09729395b27e00ebc8b76c PatchScript: << #!/bin/sh -ev %{default_script} darwin_vers=`uname -r | cut -d. -f1` # darwin13: -ansi forces -std=c89, which changes the linkage of inlines test "$darwin_vers" -lt 13 || sed -i.orig -e 's/-ansi//' source/configure << SetCC: flag-sort -r gcc SetCXX: flag-sort -r g++ ConfigureParams: --enable-shared --disable-static UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev mkdir build cd build ../source/configure %c make fink-package-precedence --depfile-ext=.d --headers --libs \ --prohibit-bdep=libicu48-dev,libicu36-dev,libicu32-dev,%n . << InfoTest: TestScript: cd build && make -k check || exit 2 InstallScript: << #!/bin/sh -ex cd build make DESTDIR="%d" install # O Libtool, whither art thou? prefix="%p" iprefix="%i" ivers=55.1 pushd $iprefix/lib for f in libicu*.*.*.dylib do if test ! -L $f then install_name_tool -id "$prefix/lib/$f" "$f" deplibs=`otool -L $f | sed 1,2d | awk '{print $1;}' | tr '\n' ' '` for d in $deplibs do # prefix absolute paths to installation case $d in /*) ;; # internal linking should not depend on symlinks from -dev *.55.dylib) repl=`echo "$d" | sed "s|55\.dylib|$ivers.dylib|"` install_name_tool -change "$d" "$prefix/lib/$repl" $f ;; *) install_name_tool -change "$d" "$prefix/lib/$d" $f ;; esac done fi done popd for b in bin sbin do pushd $iprefix/$b for f in * do if test ! -L $f then deplibs=`otool -L $f | sed 1d | awk '{print $1;}' | tr '\n' ' '` for d in $deplibs do case $d in /*) ;; @*) ;; *.55.dylib) repl=`echo "$d" | sed "s|55\.dylib|$ivers.dylib|"` install_name_tool -change "$d" "$prefix/lib/$repl" $f ;; *) install_name_tool -change "$d" "$prefix/lib/$d" $f ;; esac done fi done popd done << DocFiles: *.css *.html SplitOff: << Package: libicu55-shlibs Description: Shared libraries for ICU 5.5 DocFiles: *.css *.html Files: lib/libicu*.55.*.dylib Shlibs: << %p/lib/libicudata.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicui18n.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicuio.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicule.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libiculx.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicutest.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicutu.55.1.dylib 55.0.0 %n (>= 55.1-1) %p/lib/libicuuc.55.1.dylib 55.0.0 %n (>= 55.1-1) << << # SplitOff2: -bin? License: BSD Description: Headers for ICU libraries Maintainer: David Fang Homepage: http://site.icu-project.org/ DescDetail: << The International Components for Unicode (ICU) libraries provide robust and full-featured Unicode services on a wide variety of platforms. ICU supports the most current version of the Unicode standard, and they provide support for supplementary Unicode characters (needed for GB 18030 repertoire support). As computing environments become more heterogeneous, software portability becomes more important. ICU lets you produce the same results across all the various platforms you support, without sacrificing performance. It offers great flexibility to extend and customize the supplied services, which include: * Text: Unicode text handling, full character properties and character set conversions (500+ codepages) * Analysis: Unicode regular expressions; full Unicode sets; character, word and line boundaries * Comparison: Language sensitive collation and searching * Transformations: normalization, upper/lowercase, script transliterations (50+ pairs) * Locales: Comprehensive locale data (230+) and resource bundle architecture * Complex Text Layout: Arabic, Hebrew, Indic and Thai * Time: Multi-calendar and time zone * Formatting and Parsing: dates, times, numbers, currencies, messages and rule based Please note that this package is NOT based on the ICU source provided by Apple. << DescPackaging: << flag-sort is needed because Makefiles order in-source dirs after passed CPPFLAGS. Patch is needed to re-order linker flags to have -L../stubdata before -L../lib <<