summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/editline')
-rw-r--r--dev-libs/editline/Manifest1
-rw-r--r--dev-libs/editline/editline-1.16.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/editline/Manifest b/dev-libs/editline/Manifest
index 3b26b14985fd..4415898101c6 100644
--- a/dev-libs/editline/Manifest
+++ b/dev-libs/editline/Manifest
@@ -1 +1,2 @@
DIST editline-1.16.0.tar.xz 250376 BLAKE2B a9e080eb2b105f7c83dfbb26dfaebf07d7d2d664098504f4995b12b14b100420118ab70454afbba63518f4c510e2349b68923fade2412940e190177cfab442df SHA512 99e1070d9d658aaec82582d5148a58e7039182f9d73e755547bc090682821fbfb29af19261f38db9a0f022e304e8f8e779e79f7b21f57ad5c80af5bcf316c6f6
+DIST editline-1.16.1.tar.xz 251848 BLAKE2B 06cb75343f89c8698efc7c682c0ef968ca078e101b4c49193e009da18ebfe4cf9e3f630e27a25f2c0a05ca99e56efd0935db6da3d04027613a7c9078d01747ad SHA512 4c4e96c9218ab29c559dc8f0c2ca4015c149c70af1696cd43e7ddb38aba7eb68452a22718932bf40a83d3377ad73d26734109db13ecd4470170ef6fbcab6a9fc
diff --git a/dev-libs/editline/editline-1.16.1.ebuild b/dev-libs/editline/editline-1.16.1.ebuild
new file mode 100644
index 000000000000..d11555380163
--- /dev/null
+++ b/dev-libs/editline/editline-1.16.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="line editing library for UNIX call compatible with the FSF readline"
+HOMEPAGE="http://troglobit.com/projects/editline/"
+SRC_URI="https://github.com/troglobit/editline/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=("${FILESDIR}"/${PN}-1.16.0-rename-man.patch)
+
+src_prepare() {
+ default
+
+ # To avoid collision with dev-libs/libedit
+ # we rename man/editline.3 to man/libeditline.3
+ mv man/editline.3 man/libeditline.3 || die
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+
+ # package installs .pc file
+ find "${D}" -name '*.la' -delete || die
+}