Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libiconv: ChangeLog libiconv-1.12.ebuild
Date: Thu, 21 Feb 2008 22:20:29
Message-Id: E1JSJmD-0003eh-AC@stork.gentoo.org
1 vapier 08/02/21 22:20:25
2
3 Modified: ChangeLog
4 Added: libiconv-1.12.ebuild
5 Log:
6 Version bump -- needs iconv rpath fixed though.
7 (Portage version: 2.2_pre2)
8
9 Revision Changes Path
10 1.29 dev-libs/libiconv/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libiconv/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libiconv/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libiconv/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libiconv/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 23 Jan 2007 07:17:54 -0000 1.28
23 +++ ChangeLog 21 Feb 2008 22:20:24 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/libiconv
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/ChangeLog,v 1.28 2007/01/23 07:17:54 flameeyes Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/ChangeLog,v 1.29 2008/02/21 22:20:24 vapier Exp $
30 +
31 +*libiconv-1.12 (21 Feb 2008)
32 +
33 + 21 Feb 2008; Mike Frysinger <vapier@g.o> +libiconv-1.12.ebuild:
34 + Version bump -- needs iconv rpath fixed though.
35
36 23 Jan 2007; Diego Pettenò <flameeyes@g.o> libiconv-1.11.ebuild:
37 Use toolchain-funcs's gen_usr_ldscript. See bug #144529.
38
39
40
41 1.1 dev-libs/libiconv/libiconv-1.12.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libiconv/libiconv-1.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libiconv/libiconv-1.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libiconv-1.12.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/libiconv-1.12.ebuild,v 1.1 2008/02/21 22:20:24 vapier Exp $
51
52 inherit eutils multilib flag-o-matic libtool toolchain-funcs
53
54 DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
55 HOMEPAGE="http://www.gnu.org/software/libiconv/"
56 SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 #KEYWORDS="~sparc-fbsd ~x86-fbsd"
61 IUSE=""
62
63 DEPEND="!sys-libs/glibc
64 !sys-apps/man-pages"
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 # This patch is needed as libiconv 1.10 provides (and uses) new functions
71 # and they are not present in the old libiconv.so, and this breaks the
72 # ${DESTDIR} != ${prefix} that we use. It's a problem for Solaris, but we
73 # don't have to deal with it for now.
74 #epatch "${FILESDIR}"/${PN}-1.10-link.patch
75
76 # Make sure that libtool support is updated to link "the linux way" on
77 # FreeBSD.
78 elibtoolize
79 }
80
81 src_compile() {
82 # Install in /lib as utils installed in /lib like gnutar
83 # can depend on this
84
85 # Disable NLS support because that creates a circular dependency
86 # between libiconv and gettext
87
88 econf \
89 --disable-nls \
90 --enable-shared \
91 --enable-static \
92 || die "econf failed"
93 emake || die "emake failed"
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install || die "make install failed"
98
99 # Move static libs and creates ldscripts into /usr/lib
100 dodir /$(get_libdir)
101 mv "${D}"/usr/$(get_libdir)/*.so* "${D}/$(get_libdir)" || die
102 gen_usr_ldscript libiconv.so
103 gen_usr_ldscript libcharset.so
104 }
105
106
107
108 --
109 gentoo-commits@l.g.o mailing list