blob: d4153505dc83e526c269a50f7fc6f1342fbd5339 (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/opengtl/opengtl-0.9.15.2.ebuild,v 1.3 2012/05/27 16:24:45 ago Exp $
EAPI=4
MY_P="OpenGTL-${PV}"
inherit cmake-utils
DESCRIPTION="Collection of libraries for graphics transformation algorithms"
HOMEPAGE="http://opengtl.org/"
SRC_URI="http://download.opengtl.org/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug test"
RDEPEND="
media-libs/libpng
<sys-devel/llvm-3.0
sys-libs/zlib
"
DEPEND="${RDEPEND}
test? ( dev-util/lcov )
"
S=${WORKDIR}/${MY_P}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use debug OPENGTL_ENABLE_DEBUG_OUTPUT)
$(cmake-utils_use test OPENGTL_BUILD_TESTS)
$(cmake-utils_use test OPENGTL_CODE_COVERAGE)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newdoc OpenShiva/doc/reference/region.pdf OpenShiva.pdf
}
|