1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="sci-mathematics/pari emacs mode"
9 HOMEPAGE="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/"
12 KEYWORDS="~amd64 ~x86"
14 SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz"
16 RDEPEND="sci-mathematics/pari"
20 SITEFILE="64${PN}-gentoo.el"
24 eapply "${FILESDIR}"/${P}-makefile.patch
26 if [ -f /usr/share/doc/pari-*/pari.cfg ]; then
27 cp /usr/share/doc/pari-*/pari.cfg .
28 elif [ -f /usr/share/doc/pari-*/pari.cfg.bz2 ]; then
29 cp /usr/share/doc/pari-*/pari.cfg.bz2 .
31 else die "pari.cfg not found"