1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit libtool toolchain-funcs
9 DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
10 HOMEPAGE="https://www.gnu.org/software/libiconv/"
11 SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"
15 KEYWORDS="amd64 arm ~mips ppc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
18 DEPEND="!sys-libs/glibc
23 # Make sure that libtool support is updated to link "the linux way"
29 # Disable NLS support because that creates a circular dependency
30 # between libiconv and gettext
32 --docdir="\$(datarootdir)/doc/${PF}/html" \
41 # Install in /lib as utils installed in /lib like gnutar
43 gen_usr_ldscript -a iconv charset