mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-devel/gnuconfig: add 20260517
Closes: https://bugs.gentoo.org/837971 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gnuconfig-20240728.tar.xz 82360 BLAKE2B 476cabe032305adc916dffa39f30f07ac8249449e79da06763f08af9b642399c5c08bd5cf6b7229d63ba36b55e0ca75692b5db058ae0aa75b6b6370f12209aba SHA512 a43067a6f2a7f8d055122aefef2b0d28314c16871455e9223b8429a428ec6b4383eefe8fb50ff00d7c4c39710c6fb9fa81c3c84f3e6f5f58cbd1cf475896135e
|
||||
DIST gnuconfig-20250710.tar.xz 83388 BLAKE2B 3ae8bbec15255cfba57fbc1598228f90ff9ad82da6e1e1687c6937e9f1aa6a5ca56becf787308135cbb87eedf3eee51b20a8733c165e06613a0f9acd5fdf9cb9 SHA512 21d370bb917b91c393aebf17ecb446c5b9a93d88b29e021b85d28813de979e86053ef7af770fef0713093461268a439a17b573ce0e507dac04d089c058f7887f
|
||||
DIST gnuconfig-20260517.tar.xz 83876 BLAKE2B 23c095b1619f9d4c25494c9ed73d28a077dabc9d303949ee9475dde62374cb306783a63e76a8562d9ac7cfa5958ff621ab50e765cb4a2638ede39b770d8b773c SHA512 7e7f336e693b9676d718c01c3cbfcffd18f26f29178752bad00b7bb7e1a6212ecce1e58a42ad2c93067533010a27b43c090741fb313ffe19e531fd97ab1fa548
|
||||
|
||||
49
sys-devel/gnuconfig/gnuconfig-20260517.ebuild
Normal file
49
sys-devel/gnuconfig/gnuconfig-20260517.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == 99999999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/r/config.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/proj/base-system/gnuconfig/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
S="${WORKDIR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Updated config.sub and config.guess file from GNU"
|
||||
HOMEPAGE="https://savannah.gnu.org/projects/config"
|
||||
|
||||
LICENSE="GPL-3+-with-autoconf-exception"
|
||||
SLOT="0"
|
||||
|
||||
maint_pkg_create() {
|
||||
cd "${S}" || die
|
||||
|
||||
emake ChangeLog
|
||||
local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog)
|
||||
[[ ${#ver} != 8 ]] && die "invalid version '${ver}'"
|
||||
|
||||
local tar="${T}/gnuconfig-${ver}.tar.xz"
|
||||
tar -Jcf "${tar}" ./* || die "creating tar failed"
|
||||
einfo "Packaged tar now available:"
|
||||
einfo "$(du -b "${tar}")"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 99999999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
maint_pkg_create
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins config.{sub,guess}
|
||||
fperms +x /usr/share/${PN}/config.{sub,guess}
|
||||
dodoc ChangeLog
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -8,7 +8,7 @@ if [[ ${PV} == 99999999 ]] ; then
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/proj/base-system/gnuconfig/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
S="${WORKDIR}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user