Package: libiconv Version: 1.11 Revision: 2 #Source: mirror:sourceforge:fink/%n-%v.tar.gz Source: mirror:gnu:libiconv/libiconv-%v.tar.gz Source-MD5: b77a17e4a5a817100ad4b2613935055e Source2: mirror:sourceforge:fink/gettext-0.14.5.tar.gz #Source2: mirror:gnu:gettext/gettext-0.14.5.tar.gz Source2-MD5: e2f6581626a22a0de66dce1d81d00de3 Source3: mirror:gnu:gperf/gperf-3.0.2.tar.gz Source3-MD5: 5359fae9929f9f7235c6601f4b6e8c89 PatchFile: %n.patch PatchFile-MD5: 451b2fc713d99c877923c308812e40dd PatchScript: << cd %b/..; patch -p0 < %{PatchFile} cd %b/../gettext-0.14.5/build-aux; perl -pi -e 's/.*chmod.*777.*$//g' ltmain.sh << Essential: yes Depends: base-files BuildDepends: fink (>= 0.24.12), fink-prebinding Shlibs: << %p/lib/libcharset.1.dylib 2.0.0 %n (>= 1.7-7) %p/lib/libiconv.2.dylib 7.0.0 %n (>= 1.11-1) << DescPackaging: << Shared libraries are in libiconv for backward compatibility, to avoid breaking dpkg during an update. In order to guarantee that the gettext header files are present when libiconv is built, we now compile gettext during the building of this package. (Previously, the complicated interaction between gettext and libiconv was handled during fink's bootstrap process, but not afterwards.) Previous versions by Christoph Pfisterer. << NoSetLDFLAGS: true NoSetCPPFLAGS: true CompileScript: << #! /bin/sh -ex PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH cd %b/../gperf-3.0.2 ./configure --prefix=%p make cd %b/../gettext-0.14.5/gettext-runtime EMACS=no CPPFLAGS="-I%b/../_inst%p/include" LDFLAGS="-L%b/../_inst%p/lib" ./configure --prefix=%p --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --with-included-gettext --disable-csharp --disable-rpath --disable-shared make rm -rf %b/../_inst make install DESTDIR=%b/../_inst cd %b/../libiconv-%v make -f Makefile.devel GPERF=%b/../gperf-3.0.2/src/gperf gt_cv_func_gnugettext1_libintl="no" CPPFLAGS="-I%b/../_inst%p/include" LDFLAGS="-L%b/../_inst%p/lib" ./configure --prefix=%p --mandir='${prefix}/share/man' --enable-extra-encodings make << InstallScript: << mkdir -p %i/share/man %i/share/doc/%n make install prefix=%i docdir=%i/share/doc/%n perl -pi -e "s,^dependency_libs=.*,dependency_libs=' -L%p/lib'," %i/lib/libcharset.la %i/lib/libiconv.la rm -rf %i/doc rm -f %i/lib/charset.alias << DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS # PostInstScript: << if [ -L %p/etc/alternatives/charset.alias ]; then update-alternatives --remove charset.alias %p/lib/charset.alias.libiconv fi << # SplitOff: << Package: libiconv-bin Essential: true Depends: libiconv (= %v-%r) Replaces: libiconv (<= 1.7-6) Files: bin share/doc/libiconv/*.html share/man Description: Executables for libiconv package DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS << SplitOff2: << Package: libiconv-dev Depends: libiconv (= %v-%r) Replaces: libiconv (<= 1.7-6) BuildDependsOnly: true Files: include lib/libcharset.dylib lib/libiconv.dylib lib/*.a lib/*.la Description: Developer files for libiconv package DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS << Description: Character set conversion library DescDetail: << GNU libiconv provides an iconv() implemententation for systems that lack it, or whose implementation cannot convert from/to Unicode. << DescPort: << charset.alias is deleted because it is empty on Darwin anyway and causes unnecessary conflicts between packages. We patch around a recent change in the upstream Makefile which defeats our build system. 2007-02-01 Benjamin Reed * updated to 1.11 * included apple's patches to add UTF-8-MAC charset support << License: LGPL Maintainer: Fink Core Group Homepage: http://www.gnu.org/software/libiconv/