diff options
author | Sam James <sam@gentoo.org> | 2024-06-07 14:28:51 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-07 14:36:23 +0100 |
commit | 28a7645f05c77f35d1f5a838903d04a552b85010 (patch) | |
tree | bd26aae2af7ebd5c374dee95a65510435629cf55 /dev-build | |
parent | app-shells/bash-completion: Stabilize 2.14.0 ppc64, #933699 (diff) | |
download | gentoo-28a7645f05c77f35d1f5a838903d04a552b85010.tar.gz gentoo-28a7645f05c77f35d1f5a838903d04a552b85010.tar.bz2 gentoo-28a7645f05c77f35d1f5a838903d04a552b85010.zip |
dev-build/automake-wrapper: add 20240607
Sam James (1):
am-wrapper.sh: recognise automake-1.17
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r-- | dev-build/automake-wrapper/Manifest | 1 | ||||
-rw-r--r-- | dev-build/automake-wrapper/automake-wrapper-20240607.ebuild | 48 | ||||
-rw-r--r-- | dev-build/automake-wrapper/automake-wrapper-99999999.ebuild | 2 |
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-build/automake-wrapper/Manifest b/dev-build/automake-wrapper/Manifest index 5a292895ab23..9fdf26eaa104 100644 --- a/dev-build/automake-wrapper/Manifest +++ b/dev-build/automake-wrapper/Manifest @@ -1 +1,2 @@ DIST autotools-wrappers-at-20221207.tar.gz 3646 BLAKE2B 82bec40e03ae5ec133252fd3c05c3fed537bb415e800918df9c9d783d48a9d76cbe60c53dd7daf6d94653d79fc52be8c089183dda996e8a72dd03ffa83098613 SHA512 12ea99721e6fc60a3ed7351d6c228aaf6e4eef0bd0444eda8cd742f74fa91150ef07bb52f6bcad4a350269e8032f5d4e204d2f2108b0d9c441ddd7f9755862b7 +DIST autotools-wrappers-at-20240607.tar.gz 3648 BLAKE2B 2b63c6b71b0a1eff801d011ed0829b42944dd5fa409464644036b4b312f2fd27862fa169c8d915db7daf1fb9862d52bbf9e606b274e82dfda3395e568120e6a4 SHA512 3754c34520109e4f2d2cbf45fe24cfc788c61210864a1199c7cc208e91c400d45533fb02934c61a5662f1402ba8464a0aa4ef16de17460646c8c176ab09df0af diff --git a/dev-build/automake-wrapper/automake-wrapper-20240607.ebuild b/dev-build/automake-wrapper/automake-wrapper-20240607.ebuild new file mode 100644 index 000000000000..0573bd599fbb --- /dev/null +++ b/dev-build/automake-wrapper/automake-wrapper-20240607.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Remember to modify LAST_KNOWN_AUTOMAKE_VER 'upstream' on new automake (major) releases! + +MY_P="autotools-wrappers-at-${PV}" + +DESCRIPTION="Wrapper for automake to manage multiple automake versions" +HOMEPAGE="https://gitweb.gentoo.org/proj/autotools-wrappers.git" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/autotools-wrappers.git + https://github.com/gentoo/autotools-wrappers + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/autotools-wrappers.git/snapshot/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + 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 + +LICENSE="GPL-2" +SLOT="0" + +src_prepare() { + default + + # usr/bin/aclocal: bad substitution -> /bin/sh != POSIX shell + if use prefix ; then + sed -i -e '1c\#!'"${EPREFIX}"'/bin/sh' am-wrapper.sh || die + fi +} + +src_install() { + exeinto /usr/$(get_libdir)/misc + doexe am-wrapper.sh + + local x= + for x in automake aclocal ; do + dosym -r /usr/$(get_libdir)/misc/am-wrapper.sh /usr/bin/${x} + done + + keepdir /usr/share/aclocal +} diff --git a/dev-build/automake-wrapper/automake-wrapper-99999999.ebuild b/dev-build/automake-wrapper/automake-wrapper-99999999.ebuild index ea8e3bb63674..0573bd599fbb 100644 --- a/dev-build/automake-wrapper/automake-wrapper-99999999.ebuild +++ b/dev-build/automake-wrapper/automake-wrapper-99999999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -# Remember to modify LAST_KNOWN_AUTOAKE_VER 'upstream' on new automake (major) releases! +# Remember to modify LAST_KNOWN_AUTOMAKE_VER 'upstream' on new automake (major) releases! MY_P="autotools-wrappers-at-${PV}" |