diff options
Diffstat (limited to 'dev-libs/editline')
-rw-r--r-- | dev-libs/editline/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/editline/editline-1.16.0.ebuild | 37 | ||||
-rw-r--r-- | dev-libs/editline/files/editline-1.16.0-rename-man.patch | 16 | ||||
-rw-r--r-- | dev-libs/editline/metadata.xml | 7 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/editline/Manifest b/dev-libs/editline/Manifest new file mode 100644 index 000000000000..e5e436404895 --- /dev/null +++ b/dev-libs/editline/Manifest @@ -0,0 +1,4 @@ +AUX editline-1.16.0-rename-man.patch 466 BLAKE2B 0fa3edfe0733d2a72fe2bed1c03dfb0ff3f14cac9b33d6258a19489cb5db3b97b2fed3d6fd9c2fe3b350db102f287ade6006627ec92a3e956309550e3af218a6 SHA512 2226b4312f13d433248d705d6abf6ba77e71bebdf1774af131909139856541bdcac4e7483a8e2e38b3e9f009016bc6b36838519fcf423ba9562020d97dd6cfcf +DIST editline-1.16.0.tar.xz 250376 BLAKE2B a9e080eb2b105f7c83dfbb26dfaebf07d7d2d664098504f4995b12b14b100420118ab70454afbba63518f4c510e2349b68923fade2412940e190177cfab442df SHA512 99e1070d9d658aaec82582d5148a58e7039182f9d73e755547bc090682821fbfb29af19261f38db9a0f022e304e8f8e779e79f7b21f57ad5c80af5bcf316c6f6 +EBUILD editline-1.16.0.ebuild 779 BLAKE2B 69e9135b9e9ad50fd347cb21bfbae40fc826167a53c05f8267171d54f48d665903eaa454851e651a1cc83065d6fc0f1328338a9c2810234ca4f0d6a836d73621 SHA512 f85547ae9ae1143454bcb8540ed30752a12234716f36d77ddbe69ea3886f6cd9f60df67fe18439bde49895164c2b65c214611263ef092009f69ab0d014609e79 +MISC metadata.xml 214 BLAKE2B 0a2601c4b6c8aa8569cb5a07bd8a19ec844dea5b7a16b8f8c7ad700e280d9ecdecbd79ab5aa27dddde5f03a6f6c2b2ca46187b695bc93eb1454a58b9976fd4d1 SHA512 9995eb1c11ee28d6d8cff9eda811942251d44756be7438853ccac23f92da6ab17d9502ef4e259728a11e6627dc7d2dcaadb295895db2cf87436dd8a6330bf1f1 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 +} diff --git a/dev-libs/editline/files/editline-1.16.0-rename-man.patch b/dev-libs/editline/files/editline-1.16.0-rename-man.patch new file mode 100644 index 000000000000..0f339eeaa136 --- /dev/null +++ b/dev-libs/editline/files/editline-1.16.0-rename-man.patch @@ -0,0 +1,16 @@ +To avoid collision with dev-libs/libedit +we rename man/editline.3 to man/libeditline.3 + +This patch also needs a rename from outside the patch: + $ mv man/editline.3 man/libeditline.3 + +--- a/man/Makefile.am ++++ b/man/Makefile.am +@@ -3,1 +3,1 @@ +-dist_man_MANS = editline.3 ++dist_man_MANS = libeditline.3 +--- a/man/Makefile.in ++++ b/man/Makefile.in +@@ -273,1 +273,1 @@ top_build_prefix = @top_build_prefix@ +-dist_man_MANS = editline.3 ++dist_man_MANS = libeditline.3 diff --git a/dev-libs/editline/metadata.xml b/dev-libs/editline/metadata.xml new file mode 100644 index 000000000000..2907abeb0c42 --- /dev/null +++ b/dev-libs/editline/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>slyfox@gentoo.org</email> +</maintainer> +</pkgmetadata> |