diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 13:23:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 13:23:59 +0100 |
commit | 27a61babf89122aeb64d52f4ea8f6f068b928da4 (patch) | |
tree | 56cc72dcfb76f622af8103ed350c61f432d5f686 /sys-devel/gnuconfig | |
parent | bbdc49d5ccd04563006a608c87c870413f75057e (diff) |
gentoo auto-resync : 07:10:2022 - 13:23:59
Diffstat (limited to 'sys-devel/gnuconfig')
-rw-r--r-- | sys-devel/gnuconfig/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20221007.ebuild | 49 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-99999999.ebuild | 14 |
3 files changed, 53 insertions, 14 deletions
diff --git a/sys-devel/gnuconfig/Manifest b/sys-devel/gnuconfig/Manifest index 577a211c3a26..d5e6887cd118 100644 --- a/sys-devel/gnuconfig/Manifest +++ b/sys-devel/gnuconfig/Manifest @@ -1,5 +1,7 @@ AUX 99999999/0001-add-ps2-targets-to-config.sub.patch 1756 BLAKE2B f53d7a968df0d995988f84364f669595beb06d9919d628f37b25b54ddf6757a76b9630e78a6ae89293a7de70e0bda70b6a677c0cec4849f884228c73f4af6ba8 SHA512 151c0c7c0bfca5c4e7d1dd3c39659e29c0ed1ae49d84e8782793201cb92626111637315393e0b6217bd2ccb2126cfdf9c0ac9e238e70c43f2068510aaa885f30 DIST gnuconfig-20220508.tar.xz 87616 BLAKE2B 80b981cc85153af1cdf5ba8ca3f4e22843443ee062dacf0fa104749cebb4d25e28c83a1ba82ae326457b4cd58fe17e0f28423e9b1d0cbd3ff53b72dbc3e414b3 SHA512 c77363d30733b509d9e2a795189d0a7a556f87c6d2333ad5b376175bd8df34c48777d27e85b766c7b557f151ee2d877c6cf94940dedb4d85793427daeed5c7cd +DIST gnuconfig-20221007.tar.xz 71208 BLAKE2B 9112bd82af083043d5eae3a5ffde8174df842f3a817b1b42c17e3202a9189cff8e9f422e956e1cdd82e326949a23e27a353f72f98a6f63818e5a67096f650fed SHA512 91ca2faca02d5d78f937da70a4af026b1ba585519b9eaa2463cacd79f0f6a85ef6e1f7e0bed4243474b6e880c0b6387ca09f00eb2d40a27c3a26b6817b1bb70a EBUILD gnuconfig-20220508.ebuild 1437 BLAKE2B fb0bac24fdf45559902749abd750c28b50373298cd9f0f6e6de27569982dcf53ddcc82e812aa202a0c067f3c0bd2e293c373e6298cd42211cd399adce0b8d9b7 SHA512 5be7f8aa48e432bd534ba0cfddf880f652c66d5669485e9bff2227bad60855021a924e85ca6f52cc6bcb21f9892341b9f730eb5e5dc920a3228a81ed3a8a16ba -EBUILD gnuconfig-99999999.ebuild 1445 BLAKE2B 86a7cf9fd41904f95fc5a071f054b73429902c88b5e98ee5b2e0513e7b5eb12bfec0970e51895f8d93794875ec7768a86ee88c2dc380433a4c51d4d8e4a0d05b SHA512 7b2eb2d267148a5da65b4291ba0fbd0edd31686a5676ed7451cf5c9d894ca6aea78105bb2cd91bee2825932ac6fea706b6622f16e13650021877670446c064cb +EBUILD gnuconfig-20221007.ebuild 1320 BLAKE2B fe712d8d30b9a738071f0322a079051785051674e4cc1bd04bcd201d46833347e971e3834e1acbbea92a29e4b06b98024250acb49986475c3b169d0e06afe582 SHA512 358da59ba76f3c499da5591d41a61e9a69de07ab13b6417a388e31952865f9ebce36a0a8a86e2e2e2c790d1a95acd0c5b509eed591236dccaeef2df5818a767c +EBUILD gnuconfig-99999999.ebuild 1320 BLAKE2B fe712d8d30b9a738071f0322a079051785051674e4cc1bd04bcd201d46833347e971e3834e1acbbea92a29e4b06b98024250acb49986475c3b169d0e06afe582 SHA512 358da59ba76f3c499da5591d41a61e9a69de07ab13b6417a388e31952865f9ebce36a0a8a86e2e2e2c790d1a95acd0c5b509eed591236dccaeef2df5818a767c MISC metadata.xml 277 BLAKE2B 866b0f11a1927de0a75083001a598aa5ff99fc21b3e2b61811bda22915df73776a2d0ffe350497964c95c47a050723d2573d7248589c5cce28ba83c2660736b9 SHA512 0f502e6d4e3e23c0c88e2d5f4ba641974d934a175a643ba2ad96cdd954a2ab26972794b6ca9a1b370536c6eade6798bcb9c89be0193d170320e1b0f302a2747f diff --git a/sys-devel/gnuconfig/gnuconfig-20221007.ebuild b/sys-devel/gnuconfig/gnuconfig-20221007.ebuild new file mode 100644 index 000000000000..712d8c0126e5 --- /dev/null +++ b/sys-devel/gnuconfig/gnuconfig-20221007.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" + 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 +} diff --git a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild index 3c5c54ade825..712d8c0126e5 100644 --- a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 if [[ ${PV} == 99999999 ]] ; then EGIT_REPO_URI="https://git.savannah.gnu.org/r/config.git" @@ -26,8 +26,6 @@ maint_pkg_create() { local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" - cp "${FILESDIR}"/${PV}/*.patch . || die - local tar="${T}/gnuconfig-${ver}.tar.xz" tar -Jcf "${tar}" ./* || die "creating tar failed" einfo "Packaged tar now available:" @@ -43,16 +41,6 @@ src_unpack() { fi } -src_prepare() { - default - - eapply "${S}"/*.patch -} - -src_test() { - emake check -} - src_install() { insinto /usr/share/${PN} doins config.{sub,guess} |