diff options
author | 2021-10-03 00:07:15 +0200 | |
---|---|---|
committer | 2021-10-03 00:08:05 +0200 | |
commit | 95ef94354c3f011a6301ea0d7e750ab3efe8bf74 (patch) | |
tree | 7ac64bfe23aa0c7590eb0aaa83ab3c7a55cdd644 /dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild | |
parent | dev-perl/WWW-Curl: EAPI=8 bump (diff) | |
download | gentoo-95ef94354c3f011a6301ea0d7e750ab3efe8bf74.tar.gz gentoo-95ef94354c3f011a6301ea0d7e750ab3efe8bf74.tar.bz2 gentoo-95ef94354c3f011a6301ea0d7e750ab3efe8bf74.zip |
dev-perl/WWW-Dict-Leo-Org: EAPI=8 bump
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild')
-rw-r--r-- | dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild new file mode 100644 index 000000000000..c33e22a7aac6 --- /dev/null +++ b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=TLINDEN +DIST_VERSION=2.02 +DIST_EXAMPLES=("samples/*") +inherit perl-module + +DESCRIPTION="Commandline interface to http://dict.leo.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + virtual/perl-Carp + dev-perl/IO-Socket-SSL + dev-perl/HTML-TableParser + virtual/perl-MIME-Base64 + dev-perl/XML-Simple +" +BDEPEND="${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" +} |