DIST WWW-Dict-Leo-Org-1.40.tar.gz 13656 SHA256 4285702fd5d3e0633891739cb149b9f950afe4c69ad0a10a9c6e185ff29552da SHA512 1f71e7571eef4f68addf1b999e61bc0ecbe3fd5fc5bf1156c20d1c5018f232d7ed986bbf714bc549865c1cf81e3863b453065234033d8b763768db29f8e565f7 WHIRLPOOL 7b70536cc2ddd040a21a9027910afbbdcedf080fd07f677b410764e2cb24c143acc23fe5ee38122046bd04bf9f4a715b098a336c3edc7f65f8534d152822f13b
+DIST WWW-Dict-Leo-Org-2.00.tar.gz 14169 SHA256 36da8827396263791c097724c9545c39877a0b827d1fa7f61463ee54b3c20428 SHA512 7fa523eb1668dd96ec7486eb977851785fec3124be770ae5237f0dd6b27c0cfbafa31b7f5153f68904a2789682c53255b7a48b61c7bf2fbca5fea6d88616e42e WHIRLPOOL 4bb6235f84e95ab76a0a5627f8e0a98bcd84f809a40c4ce63297cf75e35e8fbf47b79e5a6db815e1a028cad26a7fd91ea218a78196198256f1c83e77b7820c49
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=TLINDEN
+DIST_VERSION=2.00
+DIST_EXAMPLES=("samples/*")
+inherit perl-module
+
+DESCRIPTION="Commandline interface to http://dict.leo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/perl-Carp
+ dev-perl/HTML-TableParser
+ virtual/perl-MIME-Base64
+ dev-perl/XML-Simple
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+src_prepare() {
+ einfo "Renaming leo to Leo"
+ mv "${S}/"{l,L}eo || die
+ sed -i "s/'leo'/'Leo'/" "${S}/"Makefile.PL || die
+ sed -i "s/^leo$/Leo/" "${S}/"MANIFEST || die
+ perl-module_src_prepare
+}
+
+pkg_postinst() {
+ elog "We renamed leo to Leo"
+ elog "due to conflicts with app-editors/leo"
+}