summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-01-11 21:52:53 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-01-12 12:59:25 +0000
commitd99cb7fdfe44383ff4f1a569dd4982a8dd452f79 (patch)
tree5c08270f8e7f107253d35a6fe789755caf8db89d /dev-libs/editline/editline-1.16.0.ebuild
parentapp-emacs/auto-complete: Remove old. (diff)
downloadgentoo-d99cb7fdfe44383ff4f1a569dd4982a8dd452f79.tar.gz
gentoo-d99cb7fdfe44383ff4f1a569dd4982a8dd452f79.tar.bz2
gentoo-d99cb7fdfe44383ff4f1a569dd4982a8dd452f79.zip
dev-libs/editline: new package, a dependency of >=sys-apps/nix-2.2.1
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/editline/editline-1.16.0.ebuild')
-rw-r--r--dev-libs/editline/editline-1.16.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/editline/editline-1.16.0.ebuild b/dev-libs/editline/editline-1.16.0.ebuild
new file mode 100644
index 000000000000..d11555380163
--- /dev/null
+++ b/dev-libs/editline/editline-1.16.0.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
+}