summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Mueller <dev-zero@gentoo.org>2009-07-12 08:37:54 +0200
committerTiziano Mueller <dev-zero@gentoo.org>2009-07-12 08:37:54 +0200
commitfe3212415973f0c62fc4228f3ebf736aacbce21e (patch)
treee15b49c2918f04b785ad513f6e67cde8b86a79b1 /dev-cpp/libgdamm/libgdamm-3.99.16.ebuild
parentRev-bumped gnome-applets to be able to mask it. (diff)
downloaddev-zero-fe3212415973f0c62fc4228f3ebf736aacbce21e.tar.gz
dev-zero-fe3212415973f0c62fc4228f3ebf736aacbce21e.tar.bz2
dev-zero-fe3212415973f0c62fc4228f3ebf736aacbce21e.zip
Version bump for libgdamm.
Diffstat (limited to 'dev-cpp/libgdamm/libgdamm-3.99.16.ebuild')
-rw-r--r--dev-cpp/libgdamm/libgdamm-3.99.16.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-cpp/libgdamm/libgdamm-3.99.16.ebuild b/dev-cpp/libgdamm/libgdamm-3.99.16.ebuild
new file mode 100644
index 0000000..ebe9f72
--- /dev/null
+++ b/dev-cpp/libgdamm/libgdamm-3.99.16.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit autotools gnome2
+
+DESCRIPTION="C++ bindings for libgda"
+HOMEPAGE="http://gtkmm.sourceforge.net/"
+LICENSE="LGPL-2.1 examples? ( GPL-2 )"
+SLOT="4"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="berkdb doc examples"
+
+RDEPEND=">=dev-cpp/glibmm-2.12.8
+ >=gnome-extra/libgda-4.0.0:4[berkdb?]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ sed -i -e 's/^\(^SUBDIRS.*\)examples\(.*\)/\1\2/' \
+ Makefile.am || die "sed failed"
+
+ epatch "${FILESDIR}/${PV}-bdb_automagic.patch"
+
+ AT_M4DIR="scripts/"
+ eautoreconf
+}
+
+src_configure() {
+ G2CONF="
+ $(use_enable doc reference)
+ $(use_with berkdb bdb)"
+ gnome2_src_configure
+}
+
+src_install() {
+ gnome2_src_install referencedir="/usr/share/doc/${PF}/html"
+
+ if use examples ; then
+ rm -rf examples/Makefile* examples/*/Makefile*
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}