You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
614 B
28 lines
614 B
# Copyright 2007-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Simple templatized C++ library for parsing command line arguments"
|
|
HOMEPAGE="http://tclap.sourceforge.net"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
|
|
IUSE="doc"
|
|
|
|
BDEPEND="doc? ( app-doc/doxygen )"
|
|
|
|
src_configure() {
|
|
econf $(use_enable doc doxygen)
|
|
}
|
|
|
|
src_test() {
|
|
emake -j1 check
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" docdir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
|
}
|