diff options
author | Sam James <sam@gentoo.org> | 2024-08-24 17:36:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-24 17:36:08 +0100 |
commit | 6f2b9240a53093ab02296710605019c75eaea8e3 (patch) | |
tree | e04c5abff8fcf3d3766c7776b2f5325a71221601 /sys-devel/gnuconfig | |
parent | app-portage/elt-patches: Stabilize 20240721 arm, #938464 (diff) | |
download | gentoo-6f2b9240a53093ab02296710605019c75eaea8e3.tar.gz gentoo-6f2b9240a53093ab02296710605019c75eaea8e3.tar.bz2 gentoo-6f2b9240a53093ab02296710605019c75eaea8e3.zip |
sys-devel/gnuconfig: add 20240728
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/gnuconfig')
-rw-r--r-- | sys-devel/gnuconfig/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20240728.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-devel/gnuconfig/Manifest b/sys-devel/gnuconfig/Manifest index d31fddd593ea..97821fc2f763 100644 --- a/sys-devel/gnuconfig/Manifest +++ b/sys-devel/gnuconfig/Manifest @@ -1,2 +1,3 @@ DIST gnuconfig-20230731.tar.xz 73112 BLAKE2B c6502d6b339e56440dbfc9abb0ba49e3eec5a573c5e44779dd326e6f11b55b7fc3a6d99fec73abbcc271e8f6f125699ce87f512cb3a825144307cf820df0067a SHA512 d8e24a30f86f1983c69a37a901e2357a0aefbe15fcd3f8a331d1c6f8eabc81b7436930055756a764ae874e406090d8029403f1c0faa3737acb94bd937cd577ef DIST gnuconfig-20240101.tar.xz 76992 BLAKE2B a42e35c9858ac1eca409b29ecd71c787adad94bd977a35a8f74c870b3632b1031cd7c00e022c7837a8705a50316d3f618bfaedf569b63b4f75a33fc638330706 SHA512 2e6f1f83454335e2c111866bed2660d86919061c2e047c79d5e191ecb9411a28c0f269e8fddd8a212d38a2d0c4114e2a432e69bcbf8c7aee671db1ce15b34ae8 +DIST gnuconfig-20240728.tar.xz 82360 BLAKE2B 476cabe032305adc916dffa39f30f07ac8249449e79da06763f08af9b642399c5c08bd5cf6b7229d63ba36b55e0ca75692b5db058ae0aa75b6b6370f12209aba SHA512 a43067a6f2a7f8d055122aefef2b0d28314c16871455e9223b8429a428ec6b4383eefe8fb50ff00d7c4c39710c6fb9fa81c3c84f3e6f5f58cbd1cf475896135e diff --git a/sys-devel/gnuconfig/gnuconfig-20240728.ebuild b/sys-devel/gnuconfig/gnuconfig-20240728.ebuild new file mode 100644 index 000000000000..04e57c23b5b3 --- /dev/null +++ b/sys-devel/gnuconfig/gnuconfig-20240728.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 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://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-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 +} |