aboutsummaryrefslogtreecommitdiff
blob: 200b793914a4a70f9130cab7f9a1f31bc0e194eb (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
40
41
42
43
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit cmake-utils git-2

DESCRIPTION="Computing information projections iteratively"
HOMEPAGE="http://github.com/tom111/cipi"
EGIT_REPO_URI="git://github.com/tom111/cipi.git"
EGIT_COMMIT="${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc"

DEPEND="
	dev-libs/boost
	doc? ( virtual/latex-base )"
RDEPEND="${DEPEND}"

DOCS="AUTHORS README"

CMAKE_IN_SOURCE_BUILD="yes"

src_configure() {
	mycmakeargs=(
		$(cmake-utils_use_enable doc)
	)

	cmake-utils_src_configure
}

pkg_postinst() {
	echo ""
	elog "The sample PARAM file has been installed to /usr/share/${PN}-${PV}"
	echo ""
	if use doc; then
		elog "A pdf manual has been installed to /usr/share/${PN}-${PV}"
	fi
}