diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-mathematics/reduce |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/reduce')
-rw-r--r-- | sci-mathematics/reduce/Manifest | 8 | ||||
-rw-r--r-- | sci-mathematics/reduce/files/64reduce-gentoo.el | 4 | ||||
-rw-r--r-- | sci-mathematics/reduce/files/csl | 2 | ||||
-rw-r--r-- | sci-mathematics/reduce/files/redcsl | 2 | ||||
-rw-r--r-- | sci-mathematics/reduce/metadata.xml | 19 | ||||
-rw-r--r-- | sci-mathematics/reduce/reduce-20110414-r1.ebuild | 94 |
6 files changed, 129 insertions, 0 deletions
diff --git a/sci-mathematics/reduce/Manifest b/sci-mathematics/reduce/Manifest new file mode 100644 index 000000000000..5a65f84ff6b0 --- /dev/null +++ b/sci-mathematics/reduce/Manifest @@ -0,0 +1,8 @@ +AUX 64reduce-gentoo.el 215 SHA256 f5a36df7b436104b4ed133edd02a261163f39ee265d2fb19214ab940c159dd23 SHA512 f2549e91ae3b48c4e90c7f2d4d05779d8d2df67ccffda64387f08e2a8aefbf4ffba336ca0a8b2d00ec6d5533ad9049452f4862e22177344479eec6ca709a8398 WHIRLPOOL 68673bb77e10ad9a5e1206804fd821473d27827a620ddffc018d2127fb413f7e4167e9c5eefbf4bc6d600913bba52ccab40b6f75ee0f7988978293cf893dc5e3 +AUX csl 38 SHA256 d99f85be4783179534d8c805f839d66b75671caa21516a6ba7497fd9639bd68b SHA512 3e492f318f8754d365d8aa711419e091760db547769cd6567ce4da1190379ed97b14e741ea7907646728002520229f683fda1b560c8de4777a9fcef0759bd738 WHIRLPOOL a54963acd7b1e650a6bb693472bd527d9bf7a3cd9f1d9e48bfcb1ca8bdcdab6af16fe24d63157119b6f51182092bf129e7979b5a31bb769ce69dc4d2ea7bba07 +AUX redcsl 41 SHA256 bd76b9bc8eb3ea6445793db744c5d2833e4f777242996e597f9015ad983ee8ba SHA512 c8281a9e30017fd4695bc6f41d30d92a73588ca253e5b6966327671c9cc358c4850349f5913e9a3c98166e089cf8d1756bbedc9bf10e73c3757eeaef09a3eafa WHIRLPOOL 828347ae61e1e14e5ecaec2ead64938635d5e4ffb1a79396c736b38f7081d8611aa0aa5f658dbff4b844ff89a09a9e22a2938c10c76d1e23778f967d341b46bd +DIST reduce-src-20110414.tar.bz2 136783974 SHA256 d6ac7a30e817ea71555d21b03a119a5236967b251eae8946a1817ae9a81cee03 SHA512 c54c1e069b8dc5aaee2692be26c8932a26d5963adeda56f933e6136c598d7b7e506bce88d7d2eb464ebd9a2dac3cbab2b673e213d8bf52f3ff631c71f9200d11 WHIRLPOOL 9df2f23f9f4b3c273f32a5bc592ed5f80980d2de607e0c66b9de32983426604d475ff59ebc0dea2806a373f8595d85e25af0cf123515506360ebb8b7d7f02c84 +EBUILD reduce-20110414-r1.ebuild 2409 SHA256 e6fcbe6fc26ec9b60e81d8d24098a733b3e33f0deb79df6bf9a34e575b03fa1d SHA512 112dacb31017805924f9f43033395aa03f0b019f44d051f470255b04dd01d7d5fba177df994bb3e60a8b65e2369cc483eb5ab3fa9fc2557bbce5278b2f15240e WHIRLPOOL 3d4e93c594779263dddab4eb97173a67a00c375cd61c45a67ef464a024427ed58f1d84f3d1f5d594122438bb505bf23a47631dcdbb950abc3bb47f7dd4b3e27f +MISC ChangeLog 2737 SHA256 4733db276d078f757cfebb196d6ee43046882d8346de19d3c6186d631be65ec4 SHA512 6810eead8e8479e38f0a7be7c809861c7b973f2cd4e5f972013cf6ed82a7de31e9e5747a0fffdd993a6c21368f31782939ac0ac54c8b4621d83d0fbb65f6f132 WHIRLPOOL 05b1ce8eb295153ed7460843ca3203d22249aa2e90be4b7da7da2bc02bee27e988eca72611102783dbfe4d5b7804af644ff3d31ce3572d9356fcd07dec606849 +MISC ChangeLog-2015 1156 SHA256 457ae17696ffdd0d57fed5c8138c0a183dcc143d922bc6e679a799b9fc1b2a3e SHA512 51b782cad49c8e22c2c3b4586d56e0000fff5f229baaeb81dd0f97d61b88429eb141de489986b7a16fd4c818f08456018603e236affe3a4426fe225cf0ace3e3 WHIRLPOOL a6eea8cba8056f8bfcc77dc60adcd0a73d31df1bb4ff74a1e6db209a958379774dfbc4f37e06c6d9ce3b25ab2ea710aa173076630ad5869b5210684a0342c004 +MISC metadata.xml 600 SHA256 7f347b2f0805fb9df194bd7ef9774a5022190f1e576a5b0fff4489ceb1a781d1 SHA512 9b90db5a1129766666a6b8d8c4a2011576c44adeb4b8757990ed5dc5e7167dc22300a28ecdbc16c89f0f3b617265d99946f19965498a9fbbf9fa2f10c7e4fc51 WHIRLPOOL e53186e6c958fb5ce28315a3dcfafd93713bddb0c9aa636598e6bdb9329f2cb2338b1a3fa76793897ea595a900f1c1f758f8f6a95bb568d17dc6eee24030c572 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/csl b/sci-mathematics/reduce/files/csl new file mode 100644 index 000000000000..895b6bd8f4a1 --- /dev/null +++ b/sci-mathematics/reduce/files/csl @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/lib/reduce/csl $* diff --git a/sci-mathematics/reduce/files/redcsl b/sci-mathematics/reduce/files/redcsl new file mode 100644 index 000000000000..ff40e3e073ab --- /dev/null +++ b/sci-mathematics/reduce/files/redcsl @@ -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..a79529dfaf64 --- /dev/null +++ b/sci-mathematics/reduce/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> + </maintainer> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> +A general-purpose computer algebra system. +Powerful, mature and efficient. +</longdescription> + <upstream> + <remote-id type="sourceforge">reduce-algebra</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-mathematics/reduce/reduce-20110414-r1.ebuild b/sci-mathematics/reduce/reduce-20110414-r1.ebuild new file mode 100644 index 000000000000..34c8cf564d09 --- /dev/null +++ b/sci-mathematics/reduce/reduce-20110414-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit elisp-common multilib + +DESCRIPTION="A general-purpose computer algebra system" +HOMEPAGE=" + http://reduce-algebra.sourceforge.net/ + http://reduce-algebra.com/" +SRC_URI="mirror://sourceforge/${PN}-algebra/${PN}-src-${PV}.tar.bz2" + +SLOT="0" +LICENSE="BSD-2 X? ( LGPL-2.1 )" +KEYWORDS="~amd64 ~x86" +IUSE="doc emacs gnuplot X" + +RDEPEND=" + X? ( + x11-libs/libXrandr + x11-libs/libXcursor + x11-libs/libXft + ) + gnuplot? ( sci-visualization/gnuplot ) + emacs? ( virtual/emacs )" +DEPEND="${RDEPEND}" + +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 gui) || die + # psl build requires Internet connection at build time + # we cannot support it +} + +src_compile() { + emake -j1 STRIP=true + + pushd cslbuild/*/csl/reduce.doc > /dev/null + rm -f *.txt *.tex || die + 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 -j1 testall +} + +src_install() { + local lib="$(get_libdir)" + dodoc README BUILDING DEPENDENCY_TRACKING + pushd bin > /dev/null + cp "${FILESDIR}"/redcsl "${FILESDIR}"/csl . || die + sed -e "s/lib/${lib}/" -i redcsl || die + sed -e "s/lib/${lib}/" -i csl || die + dobin redcsl csl + popd > /dev/null + + pushd cslbuild/*/csl > /dev/null + exeinto /usr/${lib}/${PN} + doexe reduce csl + insinto /usr/$(get_libdir)/${PN} + doins reduce.img csl.img + insinto /usr/share/${PN} + doins -r ${PN}.doc + mv "${D}"usr/share/${PN}/${PN}.doc "${D}"usr/share/${PN}/doc || die + dosym /usr/share/${PN}/doc /usr/${lib}/${PN}/${PN}.doc + if use X; then + doins -r ${PN}.fonts + mv "${D}"usr/share/${PN}/${PN}.fonts "${D}"usr/share/${PN}/fonts || die + dosym /usr/share/${PN}/fonts /usr/${lib}/${PN}/${PN}.fonts + fi + popd > /dev/null + + if use doc; then + dodoc doc/util/r38.pdf + 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 +} |