summaryrefslogtreecommitdiff
path: root/media-libs/opengtl/opengtl-0.9.15.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/opengtl/opengtl-0.9.15.1.ebuild')
-rw-r--r--media-libs/opengtl/opengtl-0.9.15.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/opengtl/opengtl-0.9.15.1.ebuild b/media-libs/opengtl/opengtl-0.9.15.1.ebuild
new file mode 100644
index 00000000000..84f5738286c
--- /dev/null
+++ b/media-libs/opengtl/opengtl-0.9.15.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+MY_P="OpenGTL-${PV}"
+
+inherit cmake-utils
+
+DESCRIPTION="Set of libraries for using and integrating 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-2.7
+ 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/specifications/region.pdf OpenShiva.pdf
+}