summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-11-10 11:49:35 +0000
committerNaohiro Aota <naota@gentoo.org>2011-11-10 11:49:35 +0000
commit2860b09a007373b7fb55d03ba5e2bcb339dff8f2 (patch)
tree251666c8d69ccfd4efa36a96cad08621b7beef10 /dev-libs
parentTweak www-client/opera mask to reveal 11.60 beta 1. (diff)
downloadgentoo-2-2860b09a007373b7fb55d03ba5e2bcb339dff8f2.tar.gz
gentoo-2-2860b09a007373b7fb55d03ba5e2bcb339dff8f2.tar.bz2
gentoo-2-2860b09a007373b7fb55d03ba5e2bcb339dff8f2.zip
Version bump.
(Portage version: 2.2.0_alpha72/cvs/FreeBSD i386)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libiconv/ChangeLog9
-rw-r--r--dev-libs/libiconv/libiconv-1.14.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-libs/libiconv/ChangeLog b/dev-libs/libiconv/ChangeLog
index 786285e16062..d8ec577b7200 100644
--- a/dev-libs/libiconv/ChangeLog
+++ b/dev-libs/libiconv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libiconv
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/ChangeLog,v 1.35 2009/12/16 10:13:12 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/ChangeLog,v 1.36 2011/11/10 11:49:35 naota Exp $
+
+*libiconv-1.14 (10 Nov 2011)
+
+ 10 Nov 2011; Naohiro Aota <naota@gentoo.org> +libiconv-1.14.ebuild:
+ Version bumped.
16 Dec 2009; Alexis Ballier <aballier@gentoo.org> -libiconv-1.11.ebuild,
-libiconv-1.12.ebuild, -libiconv-1.13.ebuild:
diff --git a/dev-libs/libiconv/libiconv-1.14.ebuild b/dev-libs/libiconv/libiconv-1.14.ebuild
new file mode 100644
index 000000000000..eb110d29d3e9
--- /dev/null
+++ b/dev-libs/libiconv/libiconv-1.14.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/libiconv-1.14.ebuild,v 1.1 2011/11/10 11:49:35 naota Exp $
+
+inherit eutils multilib flag-o-matic libtool toolchain-funcs
+
+DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
+HOMEPAGE="http://www.gnu.org/software/libiconv/"
+SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="!sys-libs/glibc
+ !sys-apps/man-pages"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Make sure that libtool support is updated to link "the linux way" on
+ # FreeBSD.
+ elibtoolize
+}
+
+src_compile() {
+ # Install in /lib as utils installed in /lib like gnutar
+ # can depend on this
+
+ # Disable NLS support because that creates a circular dependency
+ # between libiconv and gettext
+
+ econf \
+ --disable-nls \
+ --enable-shared \
+ --enable-static \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install || die "make install failed"
+
+ # Move static libs and creates ldscripts into /usr/lib
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib{iconv,charset}*$(get_libname)* "${D}/$(get_libdir)" || die
+ gen_usr_ldscript libiconv$(get_libname)
+ gen_usr_ldscript libcharset$(get_libname)
+}