diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-01-30 11:06:19 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-01-30 11:06:19 +0000 |
commit | bfe5917cacea5d90c1d337723c12935739a83c2e (patch) | |
tree | cc15e3caaf421537de7f98128131db1515425f8e /sci-mathematics/maxima/maxima-5.9.2.ebuild | |
parent | maxima-5.9.2.ebuild: some cleaning (diff) | |
download | sci-bfe5917cacea5d90c1d337723c12935739a83c2e.tar.gz sci-bfe5917cacea5d90c1d337723c12935739a83c2e.tar.bz2 sci-bfe5917cacea5d90c1d337723c12935739a83c2e.zip |
maxima-5.9.2: final fixes for ebuild and updated metadata.xml
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@85 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics/maxima/maxima-5.9.2.ebuild')
-rw-r--r-- | sci-mathematics/maxima/maxima-5.9.2.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sci-mathematics/maxima/maxima-5.9.2.ebuild b/sci-mathematics/maxima/maxima-5.9.2.ebuild index ce1360e9e..ea750a179 100644 --- a/sci-mathematics/maxima/maxima-5.9.2.ebuild +++ b/sci-mathematics/maxima/maxima-5.9.2.ebuild @@ -69,7 +69,7 @@ src_compile() { fi # enable gcl if no other lisp selected - if use gcl || (! cmucl && ! clisp && ! sbcl ); then + if use gcl || (! use cmucl && ! use clisp && ! use sbcl ); then if ! built_with_use dev-lisp/gcl ansi; then eerror "GCL must be installed with ANSI." eerror "Try USE=\"ansi\" emerge gcl" @@ -107,6 +107,15 @@ src_install() { dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} } +pkg_preinst() { + # do not gunzip the info files in certain cases of lisp + if use cmucl || use clisp || use sbcl; then + for infofile in $(ls ${D}/usr/share/info/*.gz); do + gunzip ${infofile} + done + fi +} + pkg_postinst() { use emacs && elisp-site-regen use tetex && mktexlsr |