aboutsummaryrefslogtreecommitdiffstats
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app-text/kindlegen/Manifest3
-rw-r--r--app-text/kindlegen/kindlegen-2.9-r1.ebuild79
2 files changed, 81 insertions, 1 deletions
diff --git a/app-text/kindlegen/Manifest b/app-text/kindlegen/Manifest
index 961df23..dfe9c7c 100644
--- a/app-text/kindlegen/Manifest
+++ b/app-text/kindlegen/Manifest
@@ -1,2 +1,3 @@
-DIST kindlegen_linux_2.6_i386_v2_9.tar.gz 9976470 SHA256 d992c533961c576626dfc87153c58cad10e31c317a79da98a212de33e0128299 SHA512 c559d83671230b48f763439c5b8b3fc7503f0df07a75f6cef13c0ff83d54fad174be3d9a142c2ac82ca43b705d03f5f586accb0035aa204d5229e711a88e335b WHIRLPOOL 6c3953f93fd692d792e3cd78d8266543c2a04509cbb7aa9af04b43424adfedce3525678ab62e7b2a3d0dfd7cfc6a1858c6c294d4061ce9a4d28b598d1ae53dec
+DIST kindlegen_linux_2.6_i386_v2_9.tar.gz 10813137 SHA256 9828db5a2c8970d487ada2caa91a3b6403210d5d183a7e3849b1b206ff042296 SHA512 5bd4928785ee06d92de1991a34029ffe343c087b4311f52c83df8d821d826b2e42f29e3047c0536140457fd478d300f621648f9eaef3a6568431a791e8147937 WHIRLPOOL 64518f59d6572b090dc5e315f3300be37f7df62879eac49ad48a8eb10f03eb3757b68fb9425672751b93697f8e836ca71380b740f5cb2295cf14df309692b97c
+EBUILD kindlegen-2.9-r1.ebuild 1524 SHA256 9b9d273bc5f06e4e7cea2b04491b8df7427f7851cd46e46742cd48c49b4e8aec SHA512 f29933fd07db46ebd95a8bc3bd301bfffc633f722b81d2e16437605fb19505a55a2f24702855127b20b9ada3ffeae0f526e92b49784017c0e6c5806e94cbb56a WHIRLPOOL 84e7f2bd20cf998b53df9bb1f2e9494e6468aa84db1b375813fe062623e89ba64ea6474db55289146738a2f42c5f3e4d7f351e2beb817217acd5489806b13dc5
EBUILD kindlegen-2.9.ebuild 1571 SHA256 0e8dbc971e2a02a162bbdcd1670cd5d66907ccbeca412ca48987613974ae3550 SHA512 b1167eae81f015d72fd54163d095c016539ea33324761a1c6a2d19a21c06c89bc4f0a663ef8295ebddd1baee65adafdafd5edc411da6bd719c1c86bab122b5d6 WHIRLPOOL 3aa1900d611acdd1c13e0f7b006511d476ca71408ead24605a7e922629f37d6c4e26d5fef82694b3e4655000d224afea2984ba06f4b9a6371a1cd28053e1fdbf
diff --git a/app-text/kindlegen/kindlegen-2.9-r1.ebuild b/app-text/kindlegen/kindlegen-2.9-r1.ebuild
new file mode 100644
index 0000000..2418f9b
--- /dev/null
+++ b/app-text/kindlegen/kindlegen-2.9-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit versionator
+
+DESCRIPTION="Command line tool for Amazon Kindle publishing."
+HOMEPAGE="http://www.amazon.com/gp/feature.html?docId=1000765211"
+
+MY_PV=$(replace_all_version_separators '_')
+SRC_FILE="${PN}_linux_2.6_i386_v${MY_PV}.tar.gz"
+SRC_URI="http://kindlegen.s3.amazonaws.com/${SRC_FILE}"
+RESTRICT="mirror strip"
+
+LICENSE="KindleGen-EULA"
+SLOT="0"
+KEYWORDS="~i686 ~amd64"
+LANGUAGES="linguas_fr linguas_it linguas_de linguas_en linguas_es linguas_jp linguas_zh"
+IUSE="${LANGUAGES}"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ sys-libs/glibc"
+
+S=${WORKDIR}
+
+src_install() {
+ dobin kindlegen || die
+
+ if use linguas_en ; then
+ docinto /
+ dodoc EULA.txt
+ docinto english
+ dodoc docs/english/*
+ fi
+
+ if use linguas_de ; then
+ docinto /
+ dodoc EULA_German.txt
+ docinto german
+ dodoc docs/german/*
+ fi
+
+ if use linguas_it ; then
+ docinto /
+ dodoc EULA_Italian.txt
+ docinto italian
+ dodoc docs/italian/*
+ fi
+
+ if use linguas_fr ; then
+ docinto /
+ dodoc EULA_Frensh.txt
+ docinto frensh
+ dodoc docs/frensh/*
+ fi
+
+ if use linguas_es ; then
+ docinto /
+ dodoc EULA_Spanish.txt
+ docinto spanish
+ dodoc docs/spanish/*
+ fi
+
+ if use linguas_jp ; then
+ docinto /
+ dodoc EULA_Japanese.txt
+ docinto japanese
+ dodoc docs/japanese/*
+ fi
+
+ if use linguas_zh ; then
+ docinto /
+ dodoc EULA_Chinese.txt
+ docinto chinese
+ dodoc docs/chinese/*
+ fi
+}