diff options
Diffstat (limited to 'app-emacs/pariemacs/pariemacs-3.14-r1.ebuild')
-rw-r--r-- | app-emacs/pariemacs/pariemacs-3.14-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild new file mode 100644 index 000000000000..e94c56789e55 --- /dev/null +++ b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="sci-mathematics/pari emacs mode" +HOMEPAGE="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/" +SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="sci-mathematics/pari" +DEPEND="${RDEPEND}" + +SITEFILE="64${PN}-gentoo.el" +DOCS="README CHANGES" +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +src_prepare() { + default + if [ -f /usr/share/pari/pari.cfg ]; then + cp /usr/share/pari/pari.cfg . || die + elif [ -f /usr/share/pari/pari.cfg.bz2 ]; then + cp /usr/share/pari/pari.cfg.bz2 . || die + bunzip2 pari.cfg.bz2 || die + else + die "pari.cfg not found" + fi +} + +src_compile() { + emake pari-conf.el + emake elc +} |