summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2015-05-25 00:10:53 +0000
committerAndrew Savchenko <bircoph@gentoo.org>2015-05-25 00:10:53 +0000
commitcac22d90196076beb157cd9060813518f24803a9 (patch)
tree7dc90f7b137421fb9681f8aea8c05397401520c4 /app-doc
parentSync ebuilds. Add missing minimum version requirements, fix dependencies for ... (diff)
downloadgentoo-2-cac22d90196076beb157cd9060813518f24803a9.tar.gz
gentoo-2-cac22d90196076beb157cd9060813518f24803a9.tar.bz2
gentoo-2-cac22d90196076beb157cd9060813518f24803a9.zip
Version bump.
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> (Portage version: 2.2.20/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/clsync-docs/ChangeLog7
-rw-r--r--app-doc/clsync-docs/clsync-docs-0.4.1.ebuild50
-rw-r--r--app-doc/clsync-docs/metadata.xml5
3 files changed, 60 insertions, 2 deletions
diff --git a/app-doc/clsync-docs/ChangeLog b/app-doc/clsync-docs/ChangeLog
index 5c09f72aa540..088bcc4e05b0 100644
--- a/app-doc/clsync-docs/ChangeLog
+++ b/app-doc/clsync-docs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-doc/clsync-docs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/clsync-docs/ChangeLog,v 1.1 2015/02/11 03:31:16 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/clsync-docs/ChangeLog,v 1.2 2015/05/25 00:10:53 bircoph Exp $
+
+*clsync-docs-0.4.1 (25 May 2015)
+
+ 25 May 2015; Andrew Savchenko <bircoph@gentoo.org> +clsync-docs-0.4.1.ebuild:
+ Version bump. Move all docs into clsync-docs.
*clsync-docs-0.4 (11 Feb 2015)
diff --git a/app-doc/clsync-docs/clsync-docs-0.4.1.ebuild b/app-doc/clsync-docs/clsync-docs-0.4.1.ebuild
new file mode 100644
index 000000000000..682623c4b093
--- /dev/null
+++ b/app-doc/clsync-docs/clsync-docs-0.4.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/clsync-docs/clsync-docs-0.4.1.ebuild,v 1.1 2015/05/25 00:10:53 bircoph Exp $
+
+EAPI=5
+
+MY_PN="${PN%-docs}"
+MY_P="${MY_PN}-${PV}"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xaionaro/${MY_PN}.git"
+else
+ SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Clsync and libclsync API documentation"
+HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync"
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="api +examples"
+
+DEPEND="
+ app-doc/doxygen
+ virtual/pkgconfig
+"
+
+src_configure() {
+ : # doxygen doesn't depend on configuration
+}
+
+src_compile() {
+ if use api; then
+ doxygen .doxygen || die "doxygen failed"
+ fi
+}
+
+src_install() {
+ dodoc CONTRIB DEVELOPING NOTES PROTOCOL README.md SHORTHANDS TODO
+ if use api; then
+ dohtml -r doc/doxygen/html/*
+ dodoc -r doc/devel/*
+ fi
+ if use examples; then
+ docinto examples
+ dodoc -r examples/{production,clsync*}
+ fi
+}
diff --git a/app-doc/clsync-docs/metadata.xml b/app-doc/clsync-docs/metadata.xml
index 0b6a8b740153..4156fb199369 100644
--- a/app-doc/clsync-docs/metadata.xml
+++ b/app-doc/clsync-docs/metadata.xml
@@ -6,7 +6,10 @@
<name>Andrew Savchenko</name>
</maintainer>
<longdescription>
- Install doxygen generated API docs for <pkg>app-admin/clsync</pkg> and
+ Install documentation common for <pkg>app-admin/clsync</pkg> and
<pkg>dev-libs/libclsync</pkg> packages.
</longdescription>
+<use>
+ <flag name="api">Install doxygen generated API docs.</flag>
+</use>
</pkgmetadata>