mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
sys-devel/autoconf-wrapper: Sync with Gentoo
It's from Gentoo commit 19a2a580469777a228a33f9cef13813fe428519f.
This commit is contained in:
parent
aa60e96f3a
commit
6161893c6b
@ -1,20 +1,26 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI=8
|
||||||
|
|
||||||
MY_P="autotools-wrappers-at-${PV}"
|
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"
|
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"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
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() {
|
src_install() {
|
||||||
exeinto /usr/$(get_libdir)/misc
|
exeinto /usr/$(get_libdir)/misc
|
||||||
|
@ -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
|
||||||
|
}
|
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>base-system@gentoo.org</email>
|
<email>base-system@gentoo.org</email>
|
||||||
<name>Gentoo Base System</name>
|
<name>Gentoo Base System</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="gentoo">proj/autotools-wrappers</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Loading…
Reference in New Issue
Block a user