summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-01-12 14:47:59 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-01-12 14:47:59 +0000
commit7aae82098642e0bb986f0abf7c2ae079cd1cee41 (patch)
treedadd0f1d52449576d04e321b06f44f71b7cd77e9
parentUse Python 2 (bug #311661). (diff)
downloadgentoo-2-7aae82098642e0bb986f0abf7c2ae079cd1cee41.tar.gz
gentoo-2-7aae82098642e0bb986f0abf7c2ae079cd1cee41.tar.bz2
gentoo-2-7aae82098642e0bb986f0abf7c2ae079cd1cee41.zip
Initial commit, ebuild by James Freedman, Mieszko Ślusarczyk, Thilo Bangert and P Purkayastha, bug 246121
(Portage version: 2.2.0_alpha14/cvs/Linux x86_64)
-rw-r--r--net-libs/libgcal/ChangeLog11
-rw-r--r--net-libs/libgcal/libgcal-0.9.6.ebuild54
-rw-r--r--net-libs/libgcal/metadata.xml5
3 files changed, 70 insertions, 0 deletions
diff --git a/net-libs/libgcal/ChangeLog b/net-libs/libgcal/ChangeLog
new file mode 100644
index 000000000000..d728ed0e9c71
--- /dev/null
+++ b/net-libs/libgcal/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-libs/libgcal
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgcal/ChangeLog,v 1.1 2011/01/12 14:47:59 tampakrap Exp $
+
+*libgcal-0.9.6 (12 Jan 2011)
+
+ 12 Jan 2011; Theo Chatzimichos <tampakrap@gentoo.org> +libgcal-0.9.6.ebuild,
+ +metadata.xml:
+ Initial commit, ebuild by James Freedman, Mieszko Ślusarczyk, Thilo Bangert
+ and P Purkayastha, bug 246121
+
diff --git a/net-libs/libgcal/libgcal-0.9.6.ebuild b/net-libs/libgcal/libgcal-0.9.6.ebuild
new file mode 100644
index 000000000000..235eefaa95fe
--- /dev/null
+++ b/net-libs/libgcal/libgcal-0.9.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgcal/libgcal-0.9.6.ebuild,v 1.1 2011/01/12 14:47:59 tampakrap Exp $
+
+EAPI="3"
+
+inherit cmake-utils
+
+DESCRIPTION="C/C++ interface to the Google Data API"
+HOMEPAGE="http://code.google.com/p/libgcal/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug doc test"
+
+# Some tests fail
+RESTRICT="test"
+
+RDEPEND="
+ dev-libs/libxml2:2
+ >=net-misc/curl-7.18.2
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( dev-libs/check )
+"
+
+DOCS=(README)
+
+src_configure() {
+ mycmakeargs=(
+ -DENABLE_TESTS=OFF
+ $(cmake-utils_use debug CURL_DEBUG)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && cmake-utils_src_compile docs
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/docs/doxygen/html/")
+ cmake-utils_src_install
+}
+
+src_test() {
+ mycmakeargs+=(-DENABLE_TESTS=ON)
+ cmake-utils_src_configure
+ cmake-utils_src_make test
+}
diff --git a/net-libs/libgcal/metadata.xml b/net-libs/libgcal/metadata.xml
new file mode 100644
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/net-libs/libgcal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>