summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-18 22:29:09 +0100
committerSam James <sam@gentoo.org>2023-06-18 22:52:34 +0100
commit260d29c83a9ff2657fe6aea397496372d8982cda (patch)
tree7856d3475fc969e4216612af3a9731e237281bfb /dev-perl/Term-ReadLine-Gnu
parentdev-perl/Term-Table: add 0.16.0 (diff)
downloadgentoo-260d29c83a9ff2657fe6aea397496372d8982cda.tar.gz
gentoo-260d29c83a9ff2657fe6aea397496372d8982cda.tar.bz2
gentoo-260d29c83a9ff2657fe6aea397496372d8982cda.zip
dev-perl/Term-ReadLine-Gnu: add 1.450.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Term-ReadLine-Gnu')
-rw-r--r--dev-perl/Term-ReadLine-Gnu/Manifest1
-rw-r--r--dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.450.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/Term-ReadLine-Gnu/Manifest b/dev-perl/Term-ReadLine-Gnu/Manifest
index aee645a28f2e..aa2c793d3d75 100644
--- a/dev-perl/Term-ReadLine-Gnu/Manifest
+++ b/dev-perl/Term-ReadLine-Gnu/Manifest
@@ -1 +1,2 @@
DIST Term-ReadLine-Gnu-1.42.tar.gz 197745 BLAKE2B 9b824310d81257f097ea9fd7848bf1f49cacb1e5d903d953771704a0ea5882da6a0fd0a293046345b8dd64ccc3d132cbd1db572912e593015b9e2d9f2f740115 SHA512 8f62cb14432f9364b1a3cea708d3d648bc7df2bb7fed2b3ec7af389fa183bfbe1bec3020b184b19a267217d47a3547f52a20d75f17c13ba89684759084f24471
+DIST Term-ReadLine-Gnu-1.45.tar.gz 205786 BLAKE2B c926497314767d912f4fcbd417d499395f7fe0e8fbc574f5411f87f6fbc31ba11a23bdddf5149ec0e9a97aa769d9ba1b37ef76272b137e8ac1861ba127d970ee SHA512 a195b26609ce8b723edfa334e44260c0c246a8a33b781a0a7d4922ade38541fe5e5e7bdd162c81eb7190afcfcce6fc1595089d40ab7036d17ece794bc3ecb102
diff --git a/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.450.0.ebuild b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.450.0.ebuild
new file mode 100644
index 000000000000..569a477dfd9a
--- /dev/null
+++ b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.450.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=HAYASHI
+DIST_VERSION=1.45
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for the GNU Readline/History Library"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=sys-libs/readline-6.2:=
+ sys-libs/ncurses:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+# Newer MakeMaker needed for macOS at least
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.580.0
+"
+
+src_prepare() {
+ default
+
+ # search_termlib() selects termcap when sys-libs/libtermcap-compat is installed
+ # despite the absence of libtermcap.so symlink
+ sed -i -e \
+ "s/search_termlib()/search_lib('-ltinfo') || search_lib('-lncurses')/" \
+ Makefile.PL || die
+}