Install this version:
emerge -a =sci-visualization/epix-1.2.22
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-visualization/epix-1.2.22
Or alternatively:
emerge --autounmask-write -a =sci-visualization/epix-1.2.22
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools bash-completion-r1 dot-a elisp-common
DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
HOMEPAGE="https://mathcs.holycross.edu/~ahwang/current/ePiX.html"
SRC_URI="https://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc emacs examples"
DEPEND="
virtual/latex-base
dev-texlive/texlive-pstricks
dev-texlive/texlive-pictures
dev-texlive/texlive-latexextra
dev-texlive/texlive-latexrecommended
emacs? ( >=app-editors/emacs-23.1:* )"
RDEPEND="${DEPEND}"
SITEFILE=50${PN}-gentoo.el
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
src_prepare() {
default
eautoreconf
}
src_configure() {
lto-guarantee-fat
econf --disable-epix-el
}
src_install() {
default
strip-lto-bytecode
newbashcomp bash_completions epix
bashcomp_alias epix flix elaps laps
if use emacs; then
# do compilation here as the make install target will
# create the .el file
elisp-compile *.el
elisp-install ${PN} *.elc *.el
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use doc; then
dodoc doc/*gz
docompress -x /usr/share/doc/${PF}/manual{.pdf,.ps,_src.tar}.gz
fi
if use examples; then
cd samples || die
docinto examples
dodoc *.xp *.flx *c *h README
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
Manage flags for this package:
euse -i <flag> -p sci-visualization/epix |
euse -E <flag> -p sci-visualization/epix |
euse -D <flag> -p sci-visualization/epix
virtual/latex-base dev-texlive/texlive-pstricks dev-texlive/texlive-pictures dev-texlive/texlive-latexextra dev-texlive/texlive-latexrecommended emacs? ( >=app-editors/emacs-23.1:* )
virtual/latex-base dev-texlive/texlive-pstricks dev-texlive/texlive-pictures dev-texlive/texlive-latexextra dev-texlive/texlive-latexrecommended emacs? ( >=app-editors/emacs-23.1:* )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | epix-1.2.22_withpdf.tar.bz2 | 1783087 bytes | https://mathcs.holycross.edu/~ahwang/epix/epix-1.2.22_withpdf.tar.bz2 |