diff options
author | Sam James <sam@gentoo.org> | 2023-02-03 05:55:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-03 05:55:48 +0000 |
commit | e2843dfbc901e434ef4547ee82549d34f607f086 (patch) | |
tree | dc57f2fdb4990ca3257b2908825b6c671b0ca6bb /sys-devel/automake-wrapper | |
parent | app-admin/gkrellm: Stabilize 2.3.11-r2 ppc, #892972 (diff) | |
download | gentoo-e2843dfbc901e434ef4547ee82549d34f607f086.tar.gz gentoo-e2843dfbc901e434ef4547ee82549d34f607f086.tar.bz2 gentoo-e2843dfbc901e434ef4547ee82549d34f607f086.zip |
sys-devel/automake-wrapper: add 20221207
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/automake-wrapper')
-rw-r--r-- | sys-devel/automake-wrapper/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/automake-wrapper/automake-wrapper-20221207.ebuild | 43 | ||||
-rw-r--r-- | sys-devel/automake-wrapper/automake-wrapper-99999999.ebuild | 8 |
3 files changed, 49 insertions, 3 deletions
diff --git a/sys-devel/automake-wrapper/Manifest b/sys-devel/automake-wrapper/Manifest new file mode 100644 index 000000000000..5a292895ab23 --- /dev/null +++ b/sys-devel/automake-wrapper/Manifest @@ -0,0 +1 @@ +DIST autotools-wrappers-at-20221207.tar.gz 3646 BLAKE2B 82bec40e03ae5ec133252fd3c05c3fed537bb415e800918df9c9d783d48a9d76cbe60c53dd7daf6d94653d79fc52be8c089183dda996e8a72dd03ffa83098613 SHA512 12ea99721e6fc60a3ed7351d6c228aaf6e4eef0bd0444eda8cd742f74fa91150ef07bb52f6bcad4a350269e8032f5d4e204d2f2108b0d9c441ddd7f9755862b7 diff --git a/sys-devel/automake-wrapper/automake-wrapper-20221207.ebuild b/sys-devel/automake-wrapper/automake-wrapper-20221207.ebuild new file mode 100644 index 000000000000..8adc69a04af4 --- /dev/null +++ b/sys-devel/automake-wrapper/automake-wrapper-20221207.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + 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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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-${PV}.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/sys-devel/automake-wrapper/automake-wrapper-99999999.ebuild b/sys-devel/automake-wrapper/automake-wrapper-99999999.ebuild index ecb9a1b0530c..8adc69a04af4 100644 --- a/sys-devel/automake-wrapper/automake-wrapper-99999999.ebuild +++ b/sys-devel/automake-wrapper/automake-wrapper-99999999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +MY_P="autotools-wrappers-at-${PV}" + DESCRIPTION="Wrapper for automake to manage multiple automake versions" HOMEPAGE="https://gitweb.gentoo.org/proj/autotools-wrappers.git" @@ -11,9 +13,9 @@ if [[ ${PV} == *9999 ]] ; then 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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - S="${WORKDIR}" + 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 LICENSE="GPL-2" |