/[fink]/3rdparty/main/finkinfo/base/libiconv.info
ViewVC logotype

Contents of /3rdparty/main/finkinfo/base/libiconv.info

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu Aug 22 11:13:47 2013 UTC (10 years, 9 months ago) by nieder
Branch: MAIN
Changes since 1.11: +10 -8 lines
bump internal gettext to 0.18.3.1

1 Package: libiconv
2 Version: 1.14
3 Revision: 5
4 Description: Character set conversion library
5 License: LGPL
6 Maintainer: Fink Core Group <fink-core@lists.sourceforge.net>
7 Depends: base-files
8 BuildDepends: fink (>= 0.24.12)
9 Essential: yes
10 #Source: mirror:sourceforge:fink/%n-%v.tar.gz
11 Source: mirror:gnu:libiconv/libiconv-%v.tar.gz
12 Source-MD5: e34509b1623cec449dfeb73d7ce9c6c6
13 #Source2: mirror:gnu:gettext/gettext-0.18.3.1.tar.gz
14 Source2: mirror:sourceforge:fink/gettext-0.18.3.1.tar.gz
15 Source2-MD5: 3fc808f7d25487fc72b5759df7419e02
16 Source3: mirror:gnu:gperf/gperf-3.0.4.tar.gz
17 Source3-MD5: c1f1db32fb6598d6a93e6e88796a8632
18 PatchFile: %n.patch
19 PatchFile-MD5: 93f202f6f6e27a9707ad8a21fc15aef4
20 PatchScript: <<
21 cd %b/..; patch -p0 < %{PatchFile}
22 <<
23 NoSetLDFLAGS: true
24 NoSetCPPFLAGS: true
25 ### gperf builds with g++
26 GCC: 4.0
27 CompileScript: <<
28 #! /bin/sh -ex
29 osversion=`uname -r | cut -d. -f1`
30 case "$osversion" in
31 9) PATH_SUFFIX=g++-4.0
32 ;;
33 10) PATH_SUFFIX=10.6
34 ;;
35 1[123]) PATH_SUFFIX=clang
36 ;;
37 *) echo "System not supported";
38 exit 1
39 ;;
40 esac
41 PATH=%p/var/lib/fink/path-prefix-$PATH_SUFFIX:/bin:/sbin:/usr/bin:/usr/sbin
42 export PATH
43
44 ### build gperf
45 cd %b/../gperf-3.0.4
46 ./configure --prefix=%p
47 make
48 make -j1 check || exit 2
49
50 ### Build our local gettext-runtime.
51 ### If gettext gets updated, make sure these ./configure parameters
52 ### match the new package parameters (except build static only here).
53 ### Not necessary, but will avoid unforeseen consequences.
54 cd %b/../gettext-0.18.3.1/gettext-runtime
55 EMACS=no CPPFLAGS="-I%b/../_inst%p/include" LDFLAGS="-L%b/../_inst%p/lib" am_cv_func_iconv=no ./configure \
56 --prefix=%p \
57 --infodir='${prefix}/share/info' \
58 --mandir='%p/share/man' \
59 --with-included-gettext \
60 --disable-csharp \
61 --disable-rpath \
62 --disable-libasprintf \
63 --disable-shared \
64 --with-included-glib \
65 --with-included-libcroco \
66 --with-included-libxml \
67 --with-included-libunistring \
68 --without-git \
69 --without-cvs \
70 ac_cv_prog_AWK=/usr/bin/awk \
71 ac_cv_path_GREP=/usr/bin/grep \
72 ac_cv_path_SED=/usr/bin/sed
73 make
74 rm -rf %b/../_inst
75 make install DESTDIR=%b/../_inst
76
77 ### now build iconv
78 cd %b/../libiconv-%v
79 make -f Makefile.devel GPERF=%b/../gperf-3.0.4/src/gperf
80 am_cv_func_iconv="yes"
81 am_cv_proto_iconv=""
82 export am_cv_func_iconv am_cv_proto_iconv
83 CPPFLAGS="-I%b/../_inst%p/include" LDFLAGS="-L%b/../_inst%p/lib" ./configure --prefix=%p --mandir='${prefix}/share/man' --enable-extra-encodings
84 find . -name Makefile | xargs perl -pi -e 's|\@LIBINTL_STATIC\@|%b/../_inst%p/lib/libintl.a -Wl,-framework,CoreFoundation|g'
85 make
86 <<
87 InfoTest: <<
88 TestScript: make check || exit 2
89 <<
90 InstallScript: <<
91 mkdir -p %i/share/man %i/share/doc/%n
92 make install prefix=%i docdir=%i/share/doc/%n
93 perl -pi -e "s,^dependency_libs=.*,dependency_libs=' -L%p/lib'," %i/lib/libcharset.la %i/lib/libiconv.la
94 rm -rf %i/doc
95 rm -f %i/lib/charset.alias
96 <<
97 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
98 Shlibs: <<
99 %p/lib/libcharset.1.dylib 2.0.0 %n (>= 1.7-7)
100 %p/lib/libiconv.2.dylib 8.0.0 %n (>= 1.14-1)
101 <<
102 #
103 PostInstScript: <<
104 if [ -L %p/etc/alternatives/charset.alias ]; then
105 update-alternatives --remove charset.alias %p/lib/charset.alias.libiconv
106 fi
107 <<
108 #
109 SplitOff: <<
110 Package: libiconv-bin
111 Essential: true
112 Depends: libiconv (= %v-%r)
113 Replaces: libiconv (<= 1.7-6)
114 Files: bin share/doc/libiconv/*.html share/man
115 Description: Executables for libiconv package
116 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
117 <<
118 SplitOff2: <<
119 Package: libiconv-dev
120 Depends: libiconv (= %v-%r)
121 Replaces: libiconv (<= 1.7-6)
122 BuildDependsOnly: true
123 Files: include lib/libcharset.dylib lib/libiconv.dylib lib/*.a lib/*.la
124 Description: Developer files for libiconv package
125 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
126 <<
127 DescDetail: <<
128 GNU libiconv provides an iconv() implemententation for systems that lack
129 it, or whose implementation cannot convert from/to Unicode.
130 <<
131 DescPackaging: <<
132 Shared libraries are in libiconv for backward compatibility, to avoid
133 breaking dpkg during an update.
134
135 In order to guarantee that the gettext header files are present when
136 libiconv is built, we now compile gettext during the building of this
137 package. (Previously, the complicated interaction between gettext and
138 libiconv was handled during fink's bootstrap process, but not afterwards.)
139
140 Previous versions by Christoph Pfisterer.
141 <<
142 DescPort: <<
143 charset.alias is deleted because it is empty on Darwin anyway and
144 causes unnecessary conflicts between packages.
145
146 We patch around a recent change in the upstream Makefile which defeats
147 our build system.
148
149 2007-02-01 Benjamin Reed <rangerrick@fink.sourceforge.net>
150 * updated to 1.11
151 * included apple's patches to add UTF-8-MAC charset support
152
153 2010-06-10 Daniel Macks <dmacks@netspace.org>
154
155 * Make sure build doesn't see already-installed libiconv-dev. But
156 apple's isn't always compatible. Just omit iconv when building
157 gettext commands (only used locally while building libiconv) that
158 would link aginst libiconv.
159
160 2013-08-22 Hanspeter Niederstrasser
161
162 * Update to 1.14
163 * Bump included gperf to latest 3.0.4
164 * Bump internal gettext to latest 0.18.3.1
165 * On 10.7+, modernize compiler wrapper
166 * Don't build genaliases headers for systems that we will not even use.
167 Build is -jN safe afterwards.
168 <<
169 Homepage: http://www.gnu.org/software/libiconv/

  ViewVC Help
Powered by ViewVC 1.1.17