diff options
author | Sam James <sam@gentoo.org> | 2024-02-02 01:29:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-02 01:51:16 +0000 |
commit | 583abc84ca7e89d67c05a811f906875cb5cc545e (patch) | |
tree | e0781922beabe6fc7ab9f81ecf4a63b187fc0e4a /sys-apps/ed | |
parent | sys-apps/ed: drop 1.18 (diff) | |
download | gentoo-583abc84ca7e89d67c05a811f906875cb5cc545e.tar.gz gentoo-583abc84ca7e89d67c05a811f906875cb5cc545e.tar.bz2 gentoo-583abc84ca7e89d67c05a811f906875cb5cc545e.zip |
sys-apps/ed: add 1.20
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/ed')
-rw-r--r-- | sys-apps/ed/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/ed/ed-1.20.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/ed/Manifest b/sys-apps/ed/Manifest index 80615274fc61..1fea5f45d6b2 100644 --- a/sys-apps/ed/Manifest +++ b/sys-apps/ed/Manifest @@ -1,2 +1,4 @@ DIST ed-1.19.tar.lz 66448 BLAKE2B 139305a1d64e96f7eadcb462325918e5eee18de229ec8e1b3fac29dc9b8ef58ceea4cd7ffdbd3674fd7f421d90bc0c9e3557318eb57830d7cd46e579828fa95d SHA512 594d5cf895931783110ee1956078f6a77aee022fb67730cbc6f1d30521c120b97820a5eb349278575f85c4c1e17fea0e16a3bc22592edae53c6fd27941ee3d7e DIST ed-1.19.tar.lz.sig 72 BLAKE2B ada611148a6347d8953c65669b61f69eb0ed8d48f6dc4ffaab8975dd7e28f1d87e434493a77e817ca05874f741e243309529e60e95f2a7636148fa71c711f5e3 SHA512 03ff7cf2f337fdc94efaa1374ce95d37c29c556b2a9a13f7216e05e8e9e9efc95bcbb554bd05000b5283d5f20884f3f50b16f220fba8e6ff318b1b975c6a44c9 +DIST ed-1.20.tar.lz 69366 BLAKE2B d212c6d5302627145332ec25b989ca2d4a064ce5c0ea45ad1ad6b780ffd72037ff2144b933c52667c52192d6f5acd5766b5c31d4a2b5cf5993813c43e1523af3 SHA512 90c0f24b1d0b7abd18d34345bc37de0e67a0bb96375a4531a742a89b53d4858c30781911c22d81aa0387d0cf4d2153e0b4286fd3483b05e4c35d5e02c0991c53 +DIST ed-1.20.tar.lz.sig 72 BLAKE2B 25673b17d6b97f21255d3c706928ea7eed6a06b2d39787f0a6791e809218cb6a610091ed9ed1147c8027855279ac65b948d4faaef4774ffd567f6ea172c0744f SHA512 d1360a08cc430301ba2baf8be112b08f48545815d3090ae7da8e448f3e13806eba286d9ec13cd00f3e289e6e82b861fa7dabd63b48c75bee1e0ab59b72dc239d diff --git a/sys-apps/ed/ed-1.20.ebuild b/sys-apps/ed/ed-1.20.ebuild new file mode 100644 index 000000000000..a6c6dacf9a4c --- /dev/null +++ b/sys-apps/ed/ed-1.20.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc +inherit edo toolchain-funcs unpacker verify-sig + +MY_P="${PN}-${PV/_/-}" + +DESCRIPTION="Your basic line editor" +HOMEPAGE="https://www.gnu.org/software/ed/" +SRC_URI=" + mirror://gnu/ed/${MY_P}.tar.lz + https://download.savannah.gnu.org/releases/ed/${MY_P}.tar.lz + verify-sig? ( + mirror://gnu/ed/${MY_P}.tar.lz.sig + https://download.savannah.gnu.org/releases/ed/${MY_P}.tar.lz.sig + ) +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2+" +SLOT="0" +if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +BDEPEND=" + sys-apps/texinfo + $(unpacker_src_uri_depends) + verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz ) +" + +src_unpack() { + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.lz{,.sig} + unpacker "${DISTDIR}"/${MY_P}.tar.lz +} + +src_configure() { + edo ./configure \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" \ + --bindir="${EPREFIX}/bin" \ + --prefix="${EPREFIX}/usr" +} |