From: Stefan Schantl Date: Tue, 12 Feb 2013 20:20:28 +0000 (+0100) Subject: icu: New package. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=348705648d1a346abcdf7ee805d099ad41dc29e8;p=people%2Fms%2Fipfire-3.x.git icu: New package. This is a build dependency of harfbuzz with icu support and webkitgtk3. --- diff --git a/icu/icu.nm b/icu/icu.nm new file mode 100644 index 000000000..9693bb1dc --- /dev/null +++ b/icu/icu.nm @@ -0,0 +1,68 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = icu +version = %{ver_major}.%{ver_minor}.%{ver_plevel} +ver_major = 50 +ver_minor = 1 +ver_plevel = 2 +release = 1 + +groups = Development/Tools +url = http://www.icu-project.org +license = MIT and UCD and Public Domain +summary = International Components for Unicode. + +description + Tools and utilities for developing with icu. +end + +source_dl = http://download.icu-project.org/files/icu4c/%{version}/ +sources = icu4c-%{ver_major}_%{ver_minor}_%{ver_plevel}-src.tgz + +build + DIR_APP = %{DIR_SRC}/icu/source + + configure_options += \ + --disable-static \ + --with-data-packaging=library \ + --disable-samples + + configure_cmds + # There is no source/doc/html/search/ directory + sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsubsrchdir)\s*$/d' Makefile + + # The configure --disable-renaming and possibly other options result in icu/source/uconfig.h.prepend + # being created, include that content in icu/source/common/unicode/uconfig.h to propagate to consumer packages. + test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' \ + -i common/unicode/uconfig.h + end + + test + make check + end +end + +packages + package %{name} + + package lib%{name} + template LIBS + end + + package lib%{name}-devel + template DEVEL + + files += \ + %{bindir}/*config* \ + %{bindir}/icuinfo \ + %{libidir}/%{name} \ + %{datadir}/%{name} + end + + package %{name}-debuginfo + template DEBUGINFO + end +end