diff options
author | Andrey Grozin <grozin@gentoo.org> | 2011-01-05 11:40:19 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2011-01-05 11:40:19 +0000 |
commit | 44a19c3f1a8f41a2fe247b3fbf6a17e0dcd8f373 (patch) | |
tree | 0a92c48669095568a8413e5c71605f2052e2649f /sci-mathematics/reduce | |
parent | Making cyana work in 2011 (diff) | |
download | historical-44a19c3f1a8f41a2fe247b3fbf6a17e0dcd8f373.tar.gz historical-44a19c3f1a8f41a2fe247b3fbf6a17e0dcd8f373.tar.bz2 historical-44a19c3f1a8f41a2fe247b3fbf6a17e0dcd8f373.zip |
Initial import
Package-Manager: portage-2.2.0_alpha12/cvs/Linux i686
Diffstat (limited to 'sci-mathematics/reduce')
-rw-r--r-- | sci-mathematics/reduce/ChangeLog | 10 | ||||
-rw-r--r-- | sci-mathematics/reduce/Manifest | 6 | ||||
-rw-r--r-- | sci-mathematics/reduce/files/64reduce-gentoo.el | 4 | ||||
-rwxr-xr-x | sci-mathematics/reduce/files/reduce | 2 | ||||
-rw-r--r-- | sci-mathematics/reduce/metadata.xml | 13 | ||||
-rw-r--r-- | sci-mathematics/reduce/reduce-20101007.ebuild | 83 |
6 files changed, 118 insertions, 0 deletions
diff --git a/sci-mathematics/reduce/ChangeLog b/sci-mathematics/reduce/ChangeLog new file mode 100644 index 000000000000..0d263f3591d9 --- /dev/null +++ b/sci-mathematics/reduce/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-mathematics/reduce +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/ChangeLog,v 1.1 2011/01/05 11:40:19 grozin Exp $ + +*reduce-20101007 (05 Jan 2011) + + 05 Jan 2011; Andrey Grozin <grozin@gentoo.org> +files/64reduce-gentoo.el, + +reduce-20101007.ebuild, +files/reduce, +metadata.xml: + Initial import + diff --git a/sci-mathematics/reduce/Manifest b/sci-mathematics/reduce/Manifest new file mode 100644 index 000000000000..a07e6ba1e46a --- /dev/null +++ b/sci-mathematics/reduce/Manifest @@ -0,0 +1,6 @@ +AUX 64reduce-gentoo.el 215 RMD160 c1ea0ffbb343c45610dc9343b19cf99d49a64ebb SHA1 c14ddfffaf88f454acee2dad81be9d6b6060a1d6 SHA256 f5a36df7b436104b4ed133edd02a261163f39ee265d2fb19214ab940c159dd23 +AUX reduce 41 RMD160 f8f86cdf3625e70a07a406f6e04849fa6b9acdcb SHA1 5ab636dacd8eb732870f2a093b9e87d0a187afc0 SHA256 bd76b9bc8eb3ea6445793db744c5d2833e4f777242996e597f9015ad983ee8ba +DIST reduce-algebra-20101007.tar.bz2 64624533 RMD160 73687191a38fe5db227b031815d84e0710fdec19 SHA1 cce8ebeb0eeaa8baa9ecd229c4ee563672d652ba SHA256 cda53b974b9e16125f4fea823f6fc73d5b6dac4e40dae69e1c22ebb8fa7a1a0f +EBUILD reduce-20101007.ebuild 2166 RMD160 e5451546eb67f3529bfb446a3578df69380c8195 SHA1 294231bb8b0bd5a9cf8519cb1d3d6e297f33f69d SHA256 f20e614bf22a9db3ec23fba66ea600f0a446ba9cb6e551917ed35c9fa3ebcb3a +MISC ChangeLog 400 RMD160 8bea4acde03c8eef82c6de8b3cf42609bc431880 SHA1 54dc3cf00ccd37fe3f2a792a839f2b1eadfe6e20 SHA256 89546679e29851cd61171bc08a64380f77558b98f8251d975402d581b0e8aa36 +MISC metadata.xml 381 RMD160 e4e15644314b8ebedf988136c974a4eb06944d55 SHA1 43012cd92b799a81f00cfb715de849f61a9169f0 SHA256 0ab958d614f9d0a5ff87b86bf74ab0ef616bc355757e34f69f1d2f53efbc7d6d diff --git a/sci-mathematics/reduce/files/64reduce-gentoo.el b/sci-mathematics/reduce/files/64reduce-gentoo.el new file mode 100644 index 000000000000..2c20bff93ede --- /dev/null +++ b/sci-mathematics/reduce/files/64reduce-gentoo.el @@ -0,0 +1,4 @@ +;; site-init for sci-mathematics/reduce +(add-to-list 'load-path "@SITELISP@") +(autoload 'reduce-mode "reduce-mode" "Major mode for REDUCE code editing" t) +(add-to-list 'auto-mode-alist '("\\.red\\'" . reduce-mode)) diff --git a/sci-mathematics/reduce/files/reduce b/sci-mathematics/reduce/files/reduce new file mode 100755 index 000000000000..ff40e3e073ab --- /dev/null +++ b/sci-mathematics/reduce/files/reduce @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/lib/reduce/reduce $* diff --git a/sci-mathematics/reduce/metadata.xml b/sci-mathematics/reduce/metadata.xml new file mode 100644 index 000000000000..523cb94a8164 --- /dev/null +++ b/sci-mathematics/reduce/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-mathematics</herd> +<maintainer> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> +</maintainer> +<longdescription lang="en"> +A general-purpose computer algebra system. +Powerful, mature and efficient. +</longdescription> +</pkgmetadata> diff --git a/sci-mathematics/reduce/reduce-20101007.ebuild b/sci-mathematics/reduce/reduce-20101007.ebuild new file mode 100644 index 000000000000..d56b99d493f7 --- /dev/null +++ b/sci-mathematics/reduce/reduce-20101007.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/reduce/reduce-20101007.ebuild,v 1.1 2011/01/05 11:40:19 grozin Exp $ +EAPI="2" +inherit elisp-common +MY_PN=${PN}-algebra +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A general-purpose computer algebra system" +HOMEPAGE="http://reduce-algebra.sourceforge.net/ + http://reduce-algebra.com/" +IUSE="doc emacs gnuplot X" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" +LICENSE="BSD-2 X? ( LGPL-2.1 )" +SLOT="0" +KEYWORDS="~x86" + +RDEPEND="X? ( x11-libs/libXrandr + x11-libs/libXcursor + x11-libs/libXft ) + gnuplot? ( sci-visualization/gnuplot ) + emacs? ( virtual/emacs )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + # If you pass --prefix to this damn configure, + # make (not make install!) will try to install stuff + # into the live file system => sandbox violation + # Therefore, I cannot use econf here + # Also, make calls configure in maintainer mode in subdirs *by design* + # The trunk sucks less => WONTFIX until the next release + ./configure --with-csl $(use_with X fox) + # psl build requires Internet connection at build time + # we cannot support it +} + +src_compile() { + default_src_compile + + pushd cslbuild/*/csl/reduce.doc > /dev/null + rm -f *.txt *.tex + popd > /dev/null + + if use emacs; then + einfo "Compiling emacs lisp files" + elisp-compile generic/emacs/*.el || die "elisp-compile failed" + fi +} + +src_test() { + emake testall || die "emake testall failed" +} + +src_install() { + pushd cslbuild/*/csl > /dev/null + exeinto /usr/lib/${PN} + doexe reduce + insinto /usr/lib/${PN} + doins reduce.img + doins -r reduce.doc + if use X; then + doins -r reduce.fonts + fi + popd > /dev/null + exeinto /usr/bin + doexe "${FILESDIR}/reduce" + dodoc README BUILDING DEPENDENCY_TRACKING + dosym /usr/lib/${PN}/${PN}.doc /usr/share/doc/${PF}/html + + if use doc; then + insinto /usr/share/doc/${PF} + doins -r doc/* + fi + + if use emacs; then + pushd generic/emacs > /dev/null + elisp-install ${PN} *.el *.elc || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/64${PN}-gentoo.el" + popd > /dev/null + fi +} |