X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=media-gfx%2Fpdftoipe%2Fpdftoipe-20130124-r1.ebuild;fp=media-gfx%2Fpdftoipe%2Fpdftoipe-20130124-r1.ebuild;h=51255b84c4ccf49fefe242b89d6add32f7dda2ef;hp=0000000000000000000000000000000000000000;hb=6897315291d09214a3f7a78c4bd66c0e2925ee1a;hpb=aec39df024dfa8bcbe704306fdd29957f1c28994 diff --git a/media-gfx/pdftoipe/pdftoipe-20130124-r1.ebuild b/media-gfx/pdftoipe/pdftoipe-20130124-r1.ebuild new file mode 100644 index 0000000..51255b8 --- /dev/null +++ b/media-gfx/pdftoipe/pdftoipe-20130124-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="Converts pdf files to Ipe xml files" +HOMEPAGE="http://ipe7.sourceforge.net/" +PEXT="${P}-src" +SRC_URI="http://sourceforge.net/projects/ipe7/files%2Ftools%2F${PEXT}.tar.gz/download + -> ${P}.tar.gz" + + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror" +IUSE="" +S="${WORKDIR}/${PEXT}" + +DEPEND="app-text/poppler + >=media-gfx/ipe-7.0.0" +RDEPEND="${DEPEND}" + + +src_prepare() { + epatch "${FILESDIR}"/missingpage.patch || die +} + +src_compile() { + emake || die +} + +src_install() { + exeinto /usr/bin/ + doexe $S/pdftoipe + doman $S/pdftoipe.1 + dodoc $S/readme.txt +} + +