summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-18 01:36:37 +0000
committerSam James <sam@gentoo.org>2022-12-18 01:36:37 +0000
commit80e4037c3b838f8a26117f2613a158e428a4ac80 (patch)
treecbd82bc6cf41626cb6ee759229f6ed092e53e749 /sys-apps
parentsys-devel/gcc: add 12.2.1_p20221217 (diff)
downloadgentoo-80e4037c3b838f8a26117f2613a158e428a4ac80.tar.gz
gentoo-80e4037c3b838f8a26117f2613a158e428a4ac80.tar.bz2
gentoo-80e4037c3b838f8a26117f2613a158e428a4ac80.zip
sys-apps/ed: add 1.19_rc1 (unkeyworded)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ed/Manifest2
-rw-r--r--sys-apps/ed/ed-1.19_rc1.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/ed/Manifest b/sys-apps/ed/Manifest
index 90fd7644b921..680ecad7ab17 100644
--- a/sys-apps/ed/Manifest
+++ b/sys-apps/ed/Manifest
@@ -1,2 +1,4 @@
DIST ed-1.18.tar.lz 66019 BLAKE2B 9f2b6f00e65dc8a13dd9eba4dfae5ad1e6e3c3ffe623c8b2cc2db78e221ba140595658fd710e4651165a2475a9ed673c9f230fab64f22a7a9488973b5e227198 SHA512 e5dac94697d63fb90cc17e3e653fa56309e9652cc25b2e98a0e21f1ed41e38c48bc33b5fc746275a59e702d1644d3af88f3d82598b482f7309f4e68aab783286
DIST ed-1.18.tar.lz.sig 72 BLAKE2B 9b498f1604d625c6b32ded636e0841ef384bf59c10ff00722e03dcd890c5c1d1ccc5d99545a6c132a9ccc61b9f8da8f70a94f514db4a417d8c52128be720481a SHA512 f3df77755ac2b47825102b7c6d1774c8aee3f93e0824cebb6d7ea6cda50c1233673ed4c56c4ed135438e993399685cf45616c1fbeb85b2a8501059abe818908d
+DIST ed-1.19-rc1.tar.lz 66524 BLAKE2B a1cca3e2f2e492a265b7b7b70aeb63094e2f8a3c7f2d81ff7a6fe93c5e0c54a9a5cf89b0139c82c0d1c8cd838353ca6b6b1403dd42a62b44540442a1914e7189 SHA512 07eb0800bce873a045ed8b275bbf5669d1e0fb271414bc75a9c167a22a826c5286918df8f806fa4130e851847e4097a6957a8f3783badca72c7e8f69f4b2f5c4
+DIST ed-1.19-rc1.tar.lz.sig 72 BLAKE2B f49dc11364d6c0c8eb0265c48104149d501da67e6b4d3ebe98d3456bb9a107b694672a1270129961488575a30f29858cb4fbdc0dfe65a10f8d6f414f3df49dad SHA512 3538e5ce797eca530fab783c3dfa99efe95f84225b0309febed55d042e40dd36555e4ec0ea7427efe939af990bca032d5b5e6c9fd988743a76f174b3d37d9d2f
diff --git a/sys-apps/ed/ed-1.19_rc1.ebuild b/sys-apps/ed/ed-1.19_rc1.ebuild
new file mode 100644
index 000000000000..15554d4d2cd3
--- /dev/null
+++ b/sys-apps/ed/ed-1.19_rc1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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"
+}