diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
commit | 74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch) | |
tree | 0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /dev-libs/editline/editline-1.17.1-r1.ebuild | |
parent | 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff) |
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'dev-libs/editline/editline-1.17.1-r1.ebuild')
-rw-r--r-- | dev-libs/editline/editline-1.17.1-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/editline/editline-1.17.1-r1.ebuild b/dev-libs/editline/editline-1.17.1-r1.ebuild new file mode 100644 index 000000000000..72f6f005b20b --- /dev/null +++ b/dev-libs/editline/editline-1.17.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="line editing library for UNIX call compatible with the FSF readline" +HOMEPAGE="https://troglobit.com/projects/editline/ + https://github.com/troglobit/editline/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/troglobit/${PN}.git" +else + SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.xz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0/1.0.2" + +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 + + find "${D}" -type f -name "*.la" -delete || die +} |