diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-10-25 21:48:54 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-10-25 21:48:54 +0000 |
commit | afd779b3c6db702f4280120e9166525b2e9d61eb (patch) | |
tree | 9e8c7c6a4b67104809d94a1274480e710afc9465 /dev-cpp/tclap/tclap-1.1.0.ebuild | |
parent | Keywording for ppc. (diff) | |
download | gentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.tar.gz gentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.tar.bz2 gentoo-2-afd779b3c6db702f4280120e9166525b2e9d61eb.zip |
Fixing description, license and repoman complains. Adding doc USE flag. Patch thanks to Toffanin <toffanin.mauro@gmail.com> bug 223203
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-cpp/tclap/tclap-1.1.0.ebuild')
-rw-r--r-- | dev-cpp/tclap/tclap-1.1.0.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/dev-cpp/tclap/tclap-1.1.0.ebuild b/dev-cpp/tclap/tclap-1.1.0.ebuild index 33b86029ac78..497e2694d3c3 100644 --- a/dev-cpp/tclap/tclap-1.1.0.ebuild +++ b/dev-cpp/tclap/tclap-1.1.0.ebuild @@ -1,26 +1,35 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.1.0.ebuild,v 1.3 2009/07/24 18:23:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.1.0.ebuild,v 1.4 2009/10/25 21:48:54 vostorga Exp $ EAPI=2 inherit eutils -DESCRIPTION="Small flexible library for dealing with command line arguments" +DESCRIPTION="Simple templatized C++ library for parsing command line arguments." HOMEPAGE="http://tclap.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -LICENSE="as-is" +LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" +IUSE="doc" RDEPEND="" -DEPEND="" +DEPEND="doc? ( app-doc/doxygen )" src_prepare() { epatch "${FILESDIR}"/${P}-gcc44.patch } +src_configure() { + local myconf="$(use_enable doc doxygen)" + econf ${myconf} +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" + + if use doc; then + dohtml -r docs/html/* + fi } |