diff options
Diffstat (limited to 'dev-libs/libedit')
-rw-r--r-- | dev-libs/libedit/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libedit/libedit-20221030.3.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest index 5ce641d0a3ce..a9ec6c7ff9e3 100644 --- a/dev-libs/libedit/Manifest +++ b/dev-libs/libedit/Manifest @@ -1,3 +1,5 @@ DIST libedit-20210419-3.1.tar.gz 522387 BLAKE2B 265c7a10905120feb096d147279a9cf7296cf3b19e16ff4a683d7de11305c0d0c7a67fe8652c1b8f16cbaf3e09b7727987bb6839be4657eb41323c0220704969 SHA512 d5e2cdad18d17fb94e839d02b7b7437378bb85986478d4c95e4105a6ac47fcbbd6bdd0a20a83d23455ed9cb1e178d6c0acbe63f4559096afd506f283c2cc00e9 +DIST libedit-20221030-3.1.tar.gz 533261 BLAKE2B f4a9784cfc2a30af2778f0e05b6e45ca489555c3009ba050ea19134670ad71fdd099425dee0526dcbb6a1a84f51bd8014ce2540be0535465cb59ab998753833c SHA512 41eb46feaffa909e8790b9a9e304d5246e82ab366721196126a923d68b4d4964d0a433fe238f9d5e0a00aefb5c8cb66132150792929a793785ad091d91016f97 EBUILD libedit-20210419.3.1.ebuild 1076 BLAKE2B 23ae49564fa582e3d2f5d7e59ffb1ae79de3e98e73e3c49c7920ab3664c66048636ac28fa65bc4877827416e236f1fdd6bed827ef50f26998a31610268afc020 SHA512 e356f07c003e95f9fba840869ede5fea4f5121d148d8ad74acb8841a8711999c13cd1737e939ab7364365b99c476621b9acfe7b9b2e551552816b22a8bfc417b +EBUILD libedit-20221030.3.1.ebuild 970 BLAKE2B 958c3c19acbc00772991ef45d87f4c4fc13fc597900143b982a9066da602b579de372276e36465e55eba83df46f64b8511bff1a9c1ac209acf5090408882a4c5 SHA512 3a79f7e9d1e24eed5bcb5968996257c83ae713475dfd61e6335ec99f6b49746b7a03811ea4a3f54f4993a985631f6c563efddc213fd408e33d271d691c92cda0 MISC metadata.xml 642 BLAKE2B 0d925244c4953d0b9bf7283b7ef088c4b5f0d8763d9160d6df19c0216cda6412c8819ee6a885eb7412695602cdc7a9bac2464ab62fc47208123bfde4f5b2213d SHA512 2c186c25f40e1ff141a2a34f056f8f8476df813ef6a31f0e368d258b6655d579c1cc65a5b44afab27f8299cd0ad6a70856fa1180a09142f77307b0ce173815f0 diff --git a/dev-libs/libedit/libedit-20221030.3.1.ebuild b/dev-libs/libedit/libedit-20221030.3.1.ebuild new file mode 100644 index 000000000000..c7a6330960c0 --- /dev/null +++ b/dev-libs/libedit/libedit-20221030.3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +MY_P=${P/./-} +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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" + +QA_PKGCONFIG_VERSION=$(ver_cut 2-3) + +multilib_src_configure() { + local myconf=( + $(use_enable static-libs static) + --enable-fast-install + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +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 +} |