summaryrefslogtreecommitdiff
blob: 1dcb915eb0fbe1e7ecd92115fd46d15082b401a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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.ebuild,v 1.1 2015/02/11 03:31:16 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"

DEPEND="
	app-doc/doxygen
	virtual/pkgconfig
"

src_configure() {
	: # doxygen doesn't depend on configuration
}

src_compile() {
	doxygen .doxygen || die "doxygen failed"
}

src_install() {
	dohtml -r doc/doxygen/html/*
}