From 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:49:31 +0100 Subject: Revert "gentoo resync : 13.09.2019" This reverts commit a1392efe64137262023d92492396ca9156d22396. --- dev-libs/cgicc/cgicc-3.2.9.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 dev-libs/cgicc/cgicc-3.2.9.ebuild (limited to 'dev-libs/cgicc/cgicc-3.2.9.ebuild') diff --git a/dev-libs/cgicc/cgicc-3.2.9.ebuild b/dev-libs/cgicc/cgicc-3.2.9.ebuild new file mode 100644 index 000000000000..393b55599081 --- /dev/null +++ b/dev-libs/cgicc/cgicc-3.2.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="A C++ class library for writing CGI applications" +HOMEPAGE="https://www.gnu.org/software/cgicc/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 doc? ( FDL-1.2 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_configure() { + if ! use doc; then + sed -i \ + -e 's/^\(SUBDIRS = .*\) doc \(.*\)/\1 \2/' \ + Makefile.in || die + fi + + econf \ + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ + --disable-dependency-tracking \ + --disable-demos +} + +src_install() { + default + + dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS + + if use doc; then + insinto /usr/share/doc/${PF}/contrib + doins contrib/*.{cpp,h} contrib/README + + insinto /usr/share/doc/${PF}/demo + doins -r demo/*.{cpp,h} demo/images demo/README + fi +} -- cgit v1.2.3