# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/libgpg-error-0.6-r1.ebuild,v 1.1 2004/09/21 08:36:23 dragonheart Exp $ DESCRIPTION="Contains error handling functions used by GnuPG" HOMEPAGE="http://www.gnupg.org/" SRC_URI="ftp://ftp.gnupg.org/gcrypt/alpha/${PN}/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="x86 ppc amd64 ~sparc alpha mips" IUSE="nls" DEPEND="virtual/libc" RDEPEND="nls? ( sys-devel/gettext )" src_compile() { econf `use_enable nls` || die emake || die } src_install() { emake DESTDIR=${D} install || die dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README }