/[gentoo-x86]/app-doc/clsync-docs/clsync-docs-0.4.1.ebuild
Gentoo

Contents of /app-doc/clsync-docs/clsync-docs-0.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 15 09:12:30 2015 UTC (4 years, 6 months ago) by bircoph
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Depend on doxygen only for USE=api

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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 $
4
5 EAPI=5
6
7 MY_PN="${PN%-docs}"
8 MY_P="${MY_PN}-${PV}"
9
10 if [[ ${PV} == "9999" ]] ; then
11 inherit git-r3
12 EGIT_REPO_URI="https://github.com/xaionaro/${MY_PN}.git"
13 else
14 SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
16 S="${WORKDIR}/${MY_P}"
17 fi
18
19 DESCRIPTION="Clsync and libclsync API documentation"
20 HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync"
21 LICENSE="GPL-3+"
22 SLOT="0"
23 IUSE="api +examples"
24
25 DEPEND="
26 virtual/pkgconfig
27 api? ( app-doc/doxygen )
28 "
29
30 src_configure() {
31 : # doxygen doesn't depend on configuration
32 }
33
34 src_compile() {
35 if use api; then
36 doxygen .doxygen || die "doxygen failed"
37 fi
38 }
39
40 src_install() {
41 dodoc CONTRIB DEVELOPING NOTES PROTOCOL README.md SHORTHANDS TODO
42 if use api; then
43 dohtml -r doc/doxygen/html/*
44 dodoc -r doc/devel/*
45 fi
46 if use examples; then
47 docinto examples
48 dodoc -r examples/{production,clsync*}
49 fi
50 }

  ViewVC Help
Powered by ViewVC 1.1.20