summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2013-02-05 12:35:57 +0000
committerTiziano Müller <dev-zero@gentoo.org>2013-02-05 12:35:57 +0000
commit00672b6b09889cee15b3bb8e11e5b81d27533dd0 (patch)
tree4a25c2eba73696d3f9a2141623df405e08ba1d9d /dev-libs/cgicc/cgicc-3.2.10.ebuild
parentimprove pkg_postinst wrt #455474 (diff)
downloadhistorical-00672b6b09889cee15b3bb8e11e5b81d27533dd0.tar.gz
historical-00672b6b09889cee15b3bb8e11e5b81d27533dd0.tar.bz2
historical-00672b6b09889cee15b3bb8e11e5b81d27533dd0.zip
Version bump (bug #454700), use EAPI-5, remove .la files and fix pkg-config config.
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64 Manifest-Sign-Key: 0xAE9C1E30!
Diffstat (limited to 'dev-libs/cgicc/cgicc-3.2.10.ebuild')
-rw-r--r--dev-libs/cgicc/cgicc-3.2.10.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/cgicc/cgicc-3.2.10.ebuild b/dev-libs/cgicc/cgicc-3.2.10.ebuild
new file mode 100644
index 000000000000..f7db5d88e278
--- /dev/null
+++ b/dev-libs/cgicc/cgicc-3.2.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.10.ebuild,v 1.1 2013/02/05 12:35:55 dev-zero Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A C++ class library for writing CGI applications"
+HOMEPAGE="http://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 static-libs"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-fix-pkgconfig.patch"
+}
+
+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 \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+
+ 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
+}