diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-doc/clsync-docs/clsync-docs-0.4.2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-doc/clsync-docs/clsync-docs-0.4.2.ebuild')
-rw-r--r-- | app-doc/clsync-docs/clsync-docs-0.4.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild b/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild new file mode 100644 index 000000000000..104b181d2ef0 --- /dev/null +++ b/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN%-docs}" +MY_P="${MY_PN}-${PV}" + +SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/${MY_P}" + +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="api? ( app-doc/doxygen )" + +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 + dodoc -r doc/doxygen/html doc/devel/* + fi + if use examples; then + docinto examples + dodoc -r examples/{production,clsync*} + fi +} |