summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2013-02-05 12:35:55 +0000
committerTiziano Müller <dev-zero@gentoo.org>2013-02-05 12:35:55 +0000
commit41869f39b950589e3bf7b0128c3a3dd034b4d0a0 (patch)
tree3b508de2f95f155eaee58e69bbf1c034d65e1a70 /dev-libs
parentimprove pkg_postinst wrt #455474 (diff)
downloadgentoo-2-41869f39b950589e3bf7b0128c3a3dd034b4d0a0.tar.gz
gentoo-2-41869f39b950589e3bf7b0128c3a3dd034b4d0a0.tar.bz2
gentoo-2-41869f39b950589e3bf7b0128c3a3dd034b4d0a0.zip
Version bump (bug #454700), use EAPI-5, remove .la files and fix pkg-config config.
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0xAE9C1E30!)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cgicc/ChangeLog11
-rw-r--r--dev-libs/cgicc/cgicc-3.2.10.ebuild50
-rw-r--r--dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch13
3 files changed, 72 insertions, 2 deletions
diff --git a/dev-libs/cgicc/ChangeLog b/dev-libs/cgicc/ChangeLog
index 958966819e93..58dbc134ee52 100644
--- a/dev-libs/cgicc/ChangeLog
+++ b/dev-libs/cgicc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/cgicc
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/ChangeLog,v 1.16 2012/04/10 12:39:03 scarabeus Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/ChangeLog,v 1.17 2013/02/05 12:35:55 dev-zero Exp $
+
+*cgicc-3.2.10 (05 Feb 2013)
+
+ 05 Feb 2013; Tiziano Müller <dev-zero@gentoo.org> +cgicc-3.2.10.ebuild,
+ +files/3.2.10-fix-pkgconfig.patch:
+ Version bump (bug #454700), use EAPI-5, remove .la files and fix pkg-config
+ config.
10 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> cgicc-3.2.9.ebuild:
Stable on amd64. Bump to eapi4 for cosmetics.
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
+}
diff --git a/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch
new file mode 100644
index 000000000000..af1c069334e9
--- /dev/null
+++ b/dev-libs/cgicc/files/3.2.10-fix-pkgconfig.patch
@@ -0,0 +1,13 @@
+diff --git a/cgicc.pc.in b/cgicc.pc.in
+index 2006be8..e42c9bf 100644
+--- a/cgicc.pc.in
++++ b/cgicc.pc.in
+@@ -7,5 +7,5 @@ Name: cgicc
+ Description: GNU cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web.
+ Requires:
+ Version: @VERSION@
+-Libs: -L${libdir}
+-Cflags:
+\ No newline at end of file
++Libs: -L${libdir} -lcgicc
++Cflags: -I${includedir}