diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-01-20 19:32:10 -0600 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-01-20 19:53:51 -0600 |
commit | d3a213c8374e6ea3a3d22d3dbe5ac2a0cbc3a49e (patch) | |
tree | 2158fe5e23fba429f72e580872e2c3c9035905c7 /app-text/dvibook | |
parent | media-gfx/imagemagick: Removed old. (diff) | |
download | gentoo-d3a213c8374e6ea3a3d22d3dbe5ac2a0cbc3a49e.tar.gz gentoo-d3a213c8374e6ea3a3d22d3dbe5ac2a0cbc3a49e.tar.bz2 gentoo-d3a213c8374e6ea3a3d22d3dbe5ac2a0cbc3a49e.zip |
app-text/dvibook: update to EAPI=6
Diffstat (limited to 'app-text/dvibook')
-rw-r--r-- | app-text/dvibook/dvibook-20001129.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/app-text/dvibook/dvibook-20001129.ebuild b/app-text/dvibook/dvibook-20001129.ebuild index 7bd5977e70ac..bfe0374149f5 100644 --- a/app-text/dvibook/dvibook-20001129.ebuild +++ b/app-text/dvibook/dvibook-20001129.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -inherit eutils +EAPI="6" + +inherit toolchain-funcs DESCRIPTION="DVI file utilities: dvibook, dviconcat, dvitodvi, and dviselect" HOMEPAGE="http://www.ctan.org/tex-archive/dviware/dvibook/" @@ -12,27 +13,25 @@ SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="dvibook" SLOT="0" KEYWORDS="~amd64 ~ppc x86" - IUSE="" + DEPEND="x11-misc/imake x11-misc/gccmakedep app-text/rman" RDEPEND="" -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" -src_unpack() { - unpack ${A} - epatch ${FILESDIR}/${P}.patch -} +PATCHES=( + "${FILESDIR}/${P}.patch" +) src_compile() { xmkmf -a || die "xmkmf failed" - emake || die "emake failed" + emake CC="$(tc-getCC)" } src_install() { - make DESTDIR=${D} install install.man || die - + emake DESTDIR="${D}" install install.man dodoc README } |