Files
gentoo/dev-cpp/tclap/tclap-1.2.5.ebuild
Michał Górny f7fdfdaeec Move {app-doc → app-text}/doxygen
Per the category metadata, app-doc/ is reserved for documentation
*files* and not software.  Move it to app-text/ where it seems a better
fit.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-12 15:36:00 +01:00

28 lines
616 B
Bash

# Copyright 2007-2024 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 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux"
IUSE="doc"
BDEPEND="doc? ( app-text/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
}