summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-22 21:11:28 +0000
committerSam James <sam@gentoo.org>2022-11-22 21:18:52 +0000
commit5600bb505ec90dd55c045ffd807dc3a818b0353c (patch)
tree84e39b3c61dcd151b4ff6284586add31d33ca661 /sys-devel/autoconf-wrapper
parentsci-libs/pdal: Stabilize 2.4.3 amd64, #882537 (diff)
downloadgentoo-5600bb505ec90dd55c045ffd807dc3a818b0353c.tar.gz
gentoo-5600bb505ec90dd55c045ffd807dc3a818b0353c.tar.bz2
gentoo-5600bb505ec90dd55c045ffd807dc3a818b0353c.zip
sys-devel/autoconf-wrapper: add 99999999
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/autoconf-wrapper')
-rw-r--r--sys-devel/autoconf-wrapper/autoconf-wrapper-20221118.ebuild20
-rw-r--r--sys-devel/autoconf-wrapper/autoconf-wrapper-99999999.ebuild35
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
+}