From 57f30080d2ca48609e92aa817ca6f1a2a85f41bd Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 14 Apr 2014 04:49:24 +0200 Subject: app-text/kindlegen-2.9: add new ebuild for amazon kindlegen --- app-text/kindlegen/Manifest | 2 + app-text/kindlegen/kindlegen-2.9.ebuild | 80 +++++++++++++++++++++++++++++++++ metadata/cache/app-text/kindlegen-2.9 | 22 +++++++++ 3 files changed, 104 insertions(+) create mode 100644 app-text/kindlegen/Manifest create mode 100644 app-text/kindlegen/kindlegen-2.9.ebuild create mode 100644 metadata/cache/app-text/kindlegen-2.9 diff --git a/app-text/kindlegen/Manifest b/app-text/kindlegen/Manifest new file mode 100644 index 0000000..961df23 --- /dev/null +++ b/app-text/kindlegen/Manifest @@ -0,0 +1,2 @@ +DIST kindlegen_linux_2.6_i386_v2_9.tar.gz 9976470 SHA256 d992c533961c576626dfc87153c58cad10e31c317a79da98a212de33e0128299 SHA512 c559d83671230b48f763439c5b8b3fc7503f0df07a75f6cef13c0ff83d54fad174be3d9a142c2ac82ca43b705d03f5f586accb0035aa204d5229e711a88e335b WHIRLPOOL 6c3953f93fd692d792e3cd78d8266543c2a04509cbb7aa9af04b43424adfedce3525678ab62e7b2a3d0dfd7cfc6a1858c6c294d4061ce9a4d28b598d1ae53dec +EBUILD kindlegen-2.9.ebuild 1571 SHA256 0e8dbc971e2a02a162bbdcd1670cd5d66907ccbeca412ca48987613974ae3550 SHA512 b1167eae81f015d72fd54163d095c016539ea33324761a1c6a2d19a21c06c89bc4f0a663ef8295ebddd1baee65adafdafd5edc411da6bd719c1c86bab122b5d6 WHIRLPOOL 3aa1900d611acdd1c13e0f7b006511d476ca71408ead24605a7e922629f37d6c4e26d5fef82694b3e4655000d224afea2984ba06f4b9a6371a1cd28053e1fdbf diff --git a/app-text/kindlegen/kindlegen-2.9.ebuild b/app-text/kindlegen/kindlegen-2.9.ebuild new file mode 100644 index 0000000..6ba9486 --- /dev/null +++ b/app-text/kindlegen/kindlegen-2.9.ebuild @@ -0,0 +1,80 @@ +# 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 + amd64? ( app-emulation/emul-linux-x86-xlibs )" + +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 +} diff --git a/metadata/cache/app-text/kindlegen-2.9 b/metadata/cache/app-text/kindlegen-2.9 new file mode 100644 index 0000000..88fd46b --- /dev/null +++ b/metadata/cache/app-text/kindlegen-2.9 @@ -0,0 +1,22 @@ + +sys-libs/glibc amd64? ( app-emulation/emul-linux-x86-xlibs ) +0 +http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz +mirror strip +http://www.amazon.com/gp/feature.html?docId=1000765211 +KindleGen-EULA +Command line tool for Amazon Kindle publishing. +~i686 ~amd64 +eutils multilib toolchain-funcs versionator +linguas_fr linguas_it linguas_de linguas_en linguas_es linguas_jp linguas_zh + + + +4 + +install + + + + + -- cgit v1.2.3