diff options
author | Andrey Grozin <grozin@gentoo.org> | 2010-01-10 08:20:59 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2010-01-10 08:20:59 +0000 |
commit | 4323fd6837fdb7045aad392a851054e7f00cf0f6 (patch) | |
tree | 80301d52a5be518c3380f660cdfaf30d12aa0aa1 /sci-mathematics | |
parent | Bug #283320 cleanup. This package is actually installing just a script and sh... (diff) | |
download | historical-4323fd6837fdb7045aad392a851054e7f00cf0f6.tar.gz historical-4323fd6837fdb7045aad392a851054e7f00cf0f6.tar.bz2 historical-4323fd6837fdb7045aad392a851054e7f00cf0f6.zip |
Added src_test; preparations for amd64
Package-Manager: portage-2.2_rc61/cvs/Linux i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/fricas/ChangeLog | 5 | ||||
-rw-r--r-- | sci-mathematics/fricas/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/fricas/fricas-1.0.8.ebuild | 27 |
3 files changed, 21 insertions, 15 deletions
diff --git a/sci-mathematics/fricas/ChangeLog b/sci-mathematics/fricas/ChangeLog index e6d1900d89f9..47f069d4db41 100644 --- a/sci-mathematics/fricas/ChangeLog +++ b/sci-mathematics/fricas/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-mathematics/fricas # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.2 2010/01/08 16:49:45 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.3 2010/01/10 08:20:59 grozin Exp $ + + 10 Jan 2010; Andrey Grozin <grozin@gentoo.org> fricas-1.0.8.ebuild: + Added src_test; preparations for amd64 08 Jan 2010; Andrey Grozin <grozin@gentoo.org> files/64fricas-gentoo.el, fricas-1.0.8.ebuild: diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest index 58989362ffcd..2aec87d4a61a 100644 --- a/sci-mathematics/fricas/Manifest +++ b/sci-mathematics/fricas/Manifest @@ -1,5 +1,5 @@ AUX 64fricas-gentoo.el 101 RMD160 67342002028207ab3fcf4ce119469332a6b39697 SHA1 7a27ebc202b4bf0c2f0f7d5903c71dd2683286c5 SHA256 b41c5e5323b2e2f38f04856fdff293c110bbc6016cab84f7af29772ef3366b2a DIST fricas-1.0.8-full.tar.bz2 9047376 RMD160 60effe1eb39a83eacb0a742649ace6f2abe1c9c3 SHA1 6a3e6acb8908d5b8e01efb5a4a5fae25798038d8 SHA256 7bf8e2c40ffedfdbe89b1aaecc5ad77fb6f9c140c1fa639773f0be9be19c5b5a -EBUILD fricas-1.0.8.ebuild 2327 RMD160 00e10374e9574ecab984d68f3f93c5c7f3082d37 SHA1 a708839c4dfb6ed8a9bce816e7596635e5ecc964 SHA256 7e2fa40de256edc0012f066cfc17659d822578a52b93f4820d8c9376ff74d981 -MISC ChangeLog 516 RMD160 35996f43949ca855df164481bfe4521e611448aa SHA1 561a323647d2bef85c92f8a204f6e3ca7f92e8bb SHA256 611c8675cd534daad87deaea5a8e99bef5521cdb785dfcb8d48ef942bec1f849 +EBUILD fricas-1.0.8.ebuild 2391 RMD160 92a8cb5472943c8569f616cc918f73b2e3d56b31 SHA1 ba72569e0596be6caaffb4f1aa98dbbb8285f69c SHA256 6182205d8be752cf17e25a53aed6f6f78b0febf41cfb88c2681018277bb7b9eb +MISC ChangeLog 628 RMD160 4b5eab089fcc514f8ff71fbf0ac04386e3c23ef2 SHA1 1aaa32bdf4318595286fc6625fd4a29bb4ee213c SHA256 44caab71643eb4dde762a04c669a9c30115aa9974763c9df8a990bf1251dcfcb MISC metadata.xml 933 RMD160 56216e081a01cbdd6a9db7096afc0af3a8ec6861 SHA1 89f3ed16f42d324177025ca2116a79413e06b1b4 SHA256 b97ab549155d90db3996450671ad96928bc262ccd9f288061db3e4533b77401d diff --git a/sci-mathematics/fricas/fricas-1.0.8.ebuild b/sci-mathematics/fricas/fricas-1.0.8.ebuild index c29da9a4a4d2..fd472b5320af 100644 --- a/sci-mathematics/fricas/fricas-1.0.8.ebuild +++ b/sci-mathematics/fricas/fricas-1.0.8.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.0.8.ebuild,v 1.2 2010/01/08 16:49:45 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.0.8.ebuild,v 1.3 2010/01/10 08:20:59 grozin Exp $ EAPI=2 -inherit elisp-common +inherit multilib elisp-common DESCRIPTION="FriCAS is a fork of Axiom computer algebra system" HOMEPAGE="http://${PN}.sourceforge.net/" @@ -12,12 +12,11 @@ SLOT="0" KEYWORDS="~x86" # Supported lisps, number 0 is the default -LISPS=( sbcl cmucl gcl ecl clisp clozurecl ) -# . means just dev-lisp/${LISP} -# package-x.y.z means >=dev-lisp/package-x.y.z -DEPS=( . . . ecls-9 . . ) +LISPS=( sbcl cmucl gcl ecl clisp clozurecl ) +# . means just dev-lisp/${LISP}; foo-x.y.z means >=dev-lisp/foo-x.y.z +DEPS=( . . . ecls-9 . . ) # command name: . means just ${LISP} -COMMAND=( . lisp . . . ccl ) +COMS=( . lisp . . . ccl ) IUSE="${LISPS[*]} X emacs" RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE ) @@ -52,7 +51,7 @@ src_configure() { n=${#LISPS[*]} for ((n--; n > 0; n--)); do if use ${LISPS[$n]}; then - LISP=${COMMAND[$n]} + LISP=${COMS[$n]} if [ "${LISP}" = "." ]; then LISP=${LISPS[$n]} fi @@ -69,20 +68,24 @@ src_compile() { emake -j1 || die "emake failed" } +src_test() { + emake -j1 all-input +} + src_install() { - emake DESTDIR="${D}" install || die 'emake install failed' + emake -j1 DESTDIR="${D}" install || die 'emake install failed' dodoc README FAQ || die "dodoc failed" if use emacs; then - sed -e 's|(setq load-path (cons (quote "/usr/lib/fricas/emacs") load-path)) ||' \ + sed -e "s|(setq load-path (cons (quote \"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \ -i "${D}"/usr/bin/efricas \ || die "sed efricas failed" - elisp-install ${PN} "${D}"/usr/lib/${PN}/emacs/*.el + elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el else rm "${D}"/usr/bin/efricas || die "rm efricas failed" fi - rm -r "${D}"/usr/lib/${PN}/emacs || die "rm -r emacs failed" + rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed" } pkg_postinst() { |