diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-26 03:42:33 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-04-26 03:42:33 +0200 |
commit | 6039416900f82d395a244c95bd03fd8e7b79dc7f (patch) | |
tree | 12c20eeef389a58d57cb16b54171d7b861a64fba /dev-libs/libedit | |
parent | dev-python/mysql-connector-python: bump to v8.0.24 (2) (diff) | |
download | gentoo-6039416900f82d395a244c95bd03fd8e7b79dc7f.tar.gz gentoo-6039416900f82d395a244c95bd03fd8e7b79dc7f.tar.bz2 gentoo-6039416900f82d395a244c95bd03fd8e7b79dc7f.zip |
dev-libs/libedit: bump to v20210419-3.1
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/libedit')
-rw-r--r-- | dev-libs/libedit/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libedit/libedit-20210419.3.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest index 54a89a758e55..6bdc0e2342d1 100644 --- a/dev-libs/libedit/Manifest +++ b/dev-libs/libedit/Manifest @@ -1 +1,2 @@ DIST libedit-20210216-3.1.tar.gz 518381 BLAKE2B 4b29f08ddccd77148c7ae810c3c4e378f6eab4b6d2c530f21aa9c0da1bc156d646bac6404408510639c34298ef3583fd7f2bde5051c0dac8b3a125e2659d8412 SHA512 2577c66b3f20a7f3cdaac529bda7f55dbed1cd902f39971b8f792885dec7f8c137a980c570dbab195d3d45989cc9d16a96a3567e02c5ac32ed4757fa36e46b4c +DIST libedit-20210419-3.1.tar.gz 522387 BLAKE2B 265c7a10905120feb096d147279a9cf7296cf3b19e16ff4a683d7de11305c0d0c7a67fe8652c1b8f16cbaf3e09b7727987bb6839be4657eb41323c0220704969 SHA512 d5e2cdad18d17fb94e839d02b7b7437378bb85986478d4c95e4105a6ac47fcbbd6bdd0a20a83d23455ed9cb1e178d6c0acbe63f4559096afd506f283c2cc00e9 diff --git a/dev-libs/libedit/libedit-20210419.3.1.ebuild b/dev-libs/libedit/libedit-20210419.3.1.ebuild new file mode 100644 index 000000000000..0dd34927e935 --- /dev/null +++ b/dev-libs/libedit/libedit-20210419.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +inherit multilib-minimal usr-ldscript + +MY_PV=${PV/./-} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="BSD replacement for libreadline" +HOMEPAGE="https://thrysoee.dk/editline/" +SRC_URI="https://thrysoee.dk/editline/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs" + +RDEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}]" +DEPEND=${RDEPEND} + +multilib_src_configure() { + local myconf=( + $(use_enable static-libs static) + --enable-widec + --enable-fast-install + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + gen_usr_ldscript -a edit +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die + # file collision with sys-libs/readline + rm "${ED}/usr/share/man/man3/history.3" || die +} |