summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-06 01:04:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-06 03:22:42 +0100
commit7c8bcd877f6305d5429f70e572909d72df163e64 (patch)
tree34b6164e6722063b43991535cc1b4d4e56430081 /app-text/epstool/epstool-3.09.ebuild
parentapp-text/epstool: Update HOMEPAGE (diff)
downloadgentoo-7c8bcd877f6305d5429f70e572909d72df163e64.tar.gz
gentoo-7c8bcd877f6305d5429f70e572909d72df163e64.tar.bz2
gentoo-7c8bcd877f6305d5429f70e572909d72df163e64.zip
app-text/epstool: 3.09 version bump, EAPI-7 bump
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/epstool/epstool-3.09.ebuild')
-rw-r--r--app-text/epstool/epstool-3.09.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/epstool/epstool-3.09.ebuild b/app-text/epstool/epstool-3.09.ebuild
new file mode 100644
index 00000000000..80be2e478d4
--- /dev/null
+++ b/app-text/epstool/epstool-3.09.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Creates or extracts preview images in EPS files, fixes bounding boxes"
+HOMEPAGE="http://www.ghostgum.com.au/software/epstool.htm"
+SRC_URI="http://www.ghostgum.com.au/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND="app-text/ghostscript-gpl"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-use-gnu.patch
+ "${FILESDIR}"/${P}-no-gcc-linker.patch
+)
+
+src_prepare() {
+ default
+ tc-export CC
+
+ # parallel make issue (bug #506978)
+ mkdir bin || die
+ mkdir epsobj || die
+}
+
+src_compile() {
+ emake epstool
+}
+
+src_install() {
+ dobin bin/epstool
+ doman doc/epstool.1
+ local HTML_DOCS=( doc/epstool.htm doc/gsview.css )
+ einstalldocs
+}