| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tclap/tclap-1.2.0.ebuild,v 1.4 2012/11/20 16:15:54 ago Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils
|
| 7 |
|
| 8 |
DESCRIPTION="Simple templatized C++ library for parsing command line arguments."
|
| 9 |
HOMEPAGE="http://tclap.sourceforge.net"
|
| 10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="MIT"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 ppc x86"
|
| 15 |
IUSE="doc"
|
| 16 |
|
| 17 |
RDEPEND=""
|
| 18 |
DEPEND="doc? ( app-doc/doxygen )"
|
| 19 |
|
| 20 |
src_configure() {
|
| 21 |
econf $(use_enable doc doxygen)
|
| 22 |
}
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install
|
| 26 |
}
|