diff options
| author | Alexey Shvetsov <alexxy@gentoo.org> | 2010-05-01 20:46:34 +0400 |
|---|---|---|
| committer | Alexey Shvetsov <alexxy@gentoo.org> | 2010-05-01 20:47:22 +0400 |
| commit | 67b1e917ff718d2cf69fa09f6ad2e5076e51fb93 (patch) | |
| tree | 5a67463dd3f4a00157c19a2f253c36362678b2cc /kde-base/cantor/cantor-4.4.74.ebuild | |
| parent | 742b425a2d0c401162609c3e6541a428969cd84c (diff) | |
| download | kde-67b1e917ff718d2cf69fa09f6ad2e5076e51fb93.tar.gz kde-67b1e917ff718d2cf69fa09f6ad2e5076e51fb93.tar.bz2 kde-67b1e917ff718d2cf69fa09f6ad2e5076e51fb93.zip | |
[kde-base,eclass] add KDE SC 4.4.74 =)
Diffstat (limited to 'kde-base/cantor/cantor-4.4.74.ebuild')
| -rw-r--r-- | kde-base/cantor/cantor-4.4.74.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/kde-base/cantor/cantor-4.4.74.ebuild b/kde-base/cantor/cantor-4.4.74.ebuild new file mode 100644 index 00000000000..17549b60353 --- /dev/null +++ b/kde-base/cantor/cantor-4.4.74.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +KMNAME="kdeedu" +inherit kde4-meta + +DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug +handbook ps +R" + +# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) +RDEPEND=" + ps? ( app-text/libspectre ) + R? ( dev-lang/R ) +" +DEPEND="${RDEPEND} + >=dev-cpp/eigen-2.0.3:2 +" + +src_configure() { + mycmakeargs+=" + $(cmake-utils_use_with ps LibSpectre) + $(cmake-utils_use_with R) + " + + kde4-meta_src_configure +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + if ! use R; then + echo + ewarn "You have decided to build ${PN} with no backend." + ewarn "To have this application functional, please do one of below:" + ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'R' USE flag enabled" + ewarn " # emerge -vaDu sci-mathematics/maxima" + echo + fi +} |
