# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/hello/hello-2.5.ebuild,v 1.1 2010/02/08 22:20:35 abcd Exp $ EAPI="2" DESCRIPTION="GNU \"Hello, world\" application" HOMEPAGE="http://www.gnu.org/software/hello/" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" LICENSE="FDL-1.3 GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nls" src_configure() { econf $(use_enable nls) } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog* NEWS README THANKS TODO contrib/evolution.txt || die "dodoc failed" for x in contrib man doc po tests src; do newdoc $x/ChangeLog ChangeLog.$x || die "newdoc failed" done }