commit: 5600bb505ec90dd55c045ffd807dc3a818b0353c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 21:11:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 21:18:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5600bb50
sys-devel/autoconf-wrapper: add 99999999
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../autoconf-wrapper-20221118.ebuild | 20 ++++++++-----
.../autoconf-wrapper-99999999.ebuild | 35 ++++++++++++++++++++++
2 files changed, 48 insertions(+), 7 deletions(-)
diff --git a/sys-devel/autoconf-wrapper/autoconf-wrapper-20221118.ebuild
b/sys-devel/autoconf-wrapper/autoconf-wrapper-20221118.ebuild
index b3df473d9d51..936757448f5b 100644
--- a/sys-devel/autoconf-wrapper/autoconf-wrapper-20221118.ebuild
+++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-20221118.ebuild
@@ -1,20 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
MY_P="autotools-wrappers-at-${PV}"
-DESCRIPTION="wrapper for autoconf to manage multiple autoconf versions"
+DESCRIPTION="Wrapper for autoconf to manage multiple autoconf versions"
HOMEPAGE="https://gitweb.gentoo.org/proj/autotools-wrappers.git"
-SRC_URI="https://gitweb.gentoo.org/proj/autotools-wrappers.git/snapshot/${MY_P}.tar.gz"
-#SRC_URI="https://dev.gentoo.org/~vapier/dist/${MY_P}.tar.gz"
+
+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"
+ #SRC_URI="https://dev.gentoo.org/~vapier/dist/${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"
-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}/${MY_P}"
src_install() {
exeinto /usr/$(get_libdir)/misc
diff --git a/sys-devel/autoconf-wrapper/autoconf-wrapper-99999999.ebuild
b/sys-devel/autoconf-wrapper/autoconf-wrapper-99999999.ebuild
new file mode 100644
index 000000000000..9c6f006f4f4a
--- /dev/null
+++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-99999999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="autotools-wrappers-at-${PV}"
+
+DESCRIPTION="Wrapper for autoconf to manage multiple autoconf 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"
+ #SRC_URI="https://dev.gentoo.org/~vapier/dist/${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_install() {
+ exeinto /usr/$(get_libdir)/misc
+ doexe ac-wrapper.sh
+
+ dodir /usr/bin
+
+ local x=
+ for x in auto{conf,header,m4te,reconf,scan,update} ifnames ; do
+ dosym -r /usr/$(get_libdir)/misc/ac-wrapper.sh /usr/bin/${x}
+ done
+}