diff options
Diffstat (limited to 'sys-apps/ed/ed-1.19_rc1.ebuild')
-rw-r--r-- | sys-apps/ed/ed-1.19_rc1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
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" +} |