diff options
author | Sam James <sam@gentoo.org> | 2022-07-02 22:34:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-02 22:49:49 +0100 |
commit | 964f6ee39180cdce600d9989f02fc377eb6dab8b (patch) | |
tree | d50edebb3d414e618a11b5954874bcb9a05468dc /app-shells/psh/psh-1.8.1-r4.ebuild | |
parent | profiles: last-rite app-pda/{jpilot,pilot-link} (diff) | |
download | gentoo-964f6ee39180cdce600d9989f02fc377eb6dab8b.tar.gz gentoo-964f6ee39180cdce600d9989f02fc377eb6dab8b.tar.bz2 gentoo-964f6ee39180cdce600d9989f02fc377eb6dab8b.zip |
app-shells/psh: update EAPI 6->8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells/psh/psh-1.8.1-r4.ebuild')
-rw-r--r-- | app-shells/psh/psh-1.8.1-r4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/psh/psh-1.8.1-r4.ebuild b/app-shells/psh/psh-1.8.1-r4.ebuild new file mode 100644 index 000000000000..9e7a280fb0c5 --- /dev/null +++ b/app-shells/psh/psh-1.8.1-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_EXAMPLES=( "examples/*" ) + +inherit optfeature perl-module + +DESCRIPTION="Combines the interactive nature of a Unix shell with the power of Perl" +HOMEPAGE="https://gnp.github.io/psh/" +SRC_URI="https://github.com/gnp/psh/archive/${P}.tar.gz" +S="${WORKDIR}"/${PN}-${P} + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="readline" + +RDEPEND=" + readline? ( + dev-perl/Term-ReadLine-Gnu + dev-perl/TermReadKey + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/perl-ExtUtils-MakeMaker" + +PATCHES=( + "${FILESDIR}"/${P}-r3-defined-array.patch + "${FILESDIR}"/${P}-r3-array-ref-deprecated.patch +) + +src_install() { + myinst="SITEPREFIX=${D}/usr" + + perl-module_src_install + + docompress -x /usr/share/doc/${PF}/pod + + docinto pod/ + dodoc -r doc/* +} + +pkg_postinst() { + optfeature "ulimit functionality" dev-perl/BSD-Resource +} |