mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-28 00:31:40 +01:00
dev-build/autoconf-wrapper: Sync with Gentoo
It's from Gentoo commit 01ac1089e8a051a0ee8e0cb5c644929162291c31. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
3ab00cb96b
commit
330c0b4fd8
@ -1 +1,2 @@
|
||||
DIST autotools-wrappers-at-20231224.tar.gz 3645 BLAKE2B fbf414240fe3a4b5d2c24ea649cc347df46bf7f0297bc0d27f98265f57753a596929277403496d76d6249f878bffa8be3e77b62ce9138df6920dd9a5216b300a SHA512 a3cc51e1eb1d055a8161b86bc3497a9bea3cb972d8d22b2f9fc712ca5ecb7809e84083a5754705911f2d037cbff83747476e96b412bfe11183273764de0d5331
|
||||
DIST autotools-wrappers-at-20260320.tar.gz 3644 BLAKE2B 6f28eab0182ed4029de7bdbe4ec91b228a3a9015acb25fd33626f50103b0a6f9e70bd6a187a60a2cf85cc620276594f74a0c1457aefcf5123cf48cda229b1ca6 SHA512 500893c108c6947fab30c47b82a0147c6702abf49b0b5c4a3c4d9451e1e430e44c4f137ec18ac18024dde5d261f30392f86f89526bd1adf806e492951587d788
|
||||
|
||||
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P="autotools-wrappers-at-${PV}"
|
||||
|
||||
# Remember to modify LAST_KNOWN_VER 'upstream' on new autoconf releases!
|
||||
|
||||
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
|
||||
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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-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' ac-wrapper.sh || die
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user