diff options
| author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-01-05 00:53:35 +0300 |
|---|---|---|
| committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-01-05 00:53:35 +0300 |
| commit | d02353cb2efd5203d1b207f893811abacd2c61bf (patch) | |
| tree | b6087e6410603dc93c07271de4239643edacf65a /kde-base/cantor/cantor-4.5.95.ebuild | |
| parent | 7bbfb978f86f71f1ea9b86e91e14ee74375d7a3f (diff) | |
| download | kde-d02353cb2efd5203d1b207f893811abacd2c61bf.tar.gz kde-d02353cb2efd5203d1b207f893811abacd2c61bf.tar.bz2 kde-d02353cb2efd5203d1b207f893811abacd2c61bf.zip | |
[kde-base] Add KDE SC 4.6 RC2
Diffstat (limited to 'kde-base/cantor/cantor-4.5.95.ebuild')
| -rw-r--r-- | kde-base/cantor/cantor-4.5.95.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-base/cantor/cantor-4.5.95.ebuild b/kde-base/cantor/cantor-4.5.95.ebuild new file mode 100644 index 00000000000..ee4b08e3833 --- /dev/null +++ b/kde-base/cantor/cantor-4.5.95.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +KDE_HANDBOOK="optional" +KMNAME="kdeedu" +inherit kde4-meta + +DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" +KEYWORDS="~amd64 ~x86" +IUSE="debug 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 +" + +RESTRICT=test + +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 +} |
