31 lines
857 B
Bash
31 lines
857 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-text/epstool/epstool-3.08.ebuild,v 1.16 2013/07/18 14:18:24 chithanh Exp $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Creates or extracts preview images in EPS files, fixes bounding boxes,converts to bitmaps."
|
|
HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/epstool.htm"
|
|
SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
IUSE=""
|
|
DEPEND="app-text/ghostscript-gpl
|
|
!=app-text/gsview-4.6"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${$}"
|
|
epatch "${FILESDIR}/gcc43.patch"
|
|
}
|
|
|
|
src_compile() {
|
|
make epstool || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/epstool
|
|
doman doc/epstool.1
|
|
dohtml doc/epstool.htm doc/gsview.css
|
|
}
|