summaryrefslogtreecommitdiff
blob: 66dc67387bff284db86b83430c969d2b8c9ffbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libiconv/libiconv-1.9.2.ebuild,v 1.1 2005/04/18 22:15:09 flameeyes Exp $

DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/libiconv/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/libiconv/"

SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
IUSE="nls"

DEPEND="virtual/libc
	!sys-libs/glibc"

src_compile() {
	econf \
		$(use_enable nls) \
		 || die "econf failed"
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
}