1 |
commit: f28899642a1158c227faacf2c0a0d1bc8132598c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 06:07:08 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 06:07:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2889964 |
7 |
|
8 |
sys-devel/binutils-config: add 5.4.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/796260 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-devel/binutils-config/Manifest | 1 + |
14 |
.../{binutils-config-9999.ebuild => binutils-config-5.4.1.ebuild} | 6 +++++- |
15 |
sys-devel/binutils-config/binutils-config-9999.ebuild | 2 +- |
16 |
3 files changed, 7 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest |
19 |
index fd54bdc21c2f..ec46795d11ac 100644 |
20 |
--- a/sys-devel/binutils-config/Manifest |
21 |
+++ b/sys-devel/binutils-config/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST binutils-config-5.4.1.tar.xz 7328 BLAKE2B 51f0ca625abfd964cc1b6c902017edc9790da1d33a44b3da64e3b2c68ed245fc1c0eb8b3fb999f6acb88e614f47e2f53e19b456b03c069bb61cd0f39e85d786d SHA512 af12644d591152f45d573bee0499b21c293b68a9b81626e9e1d46d5a7dc40e9a24642364bdb2bce52d61cbe3d2e045f4ab6e50a9827648a820bac885f20239cd |
24 |
DIST binutils-config-5.4.tar.xz 7332 BLAKE2B 1dd0fdebf028e9d95caa395948037d51ac1e627f370921b56fc99a6fe2e2100ddb202c8027ad1e67330306de8b4cbc6a03753105d401198e515b22fca94f760f SHA512 79411afcbec3a6cce960be1b06e4a6efdf55081992f6a92157737f7ef41fc61eaec0005078a4ce0cd78ad6af14583ab85f4f2b7b43808238088d521e1aa31af1 |
25 |
|
26 |
diff --git a/sys-devel/binutils-config/binutils-config-9999.ebuild b/sys-devel/binutils-config/binutils-config-5.4.1.ebuild |
27 |
similarity index 87% |
28 |
copy from sys-devel/binutils-config/binutils-config-9999.ebuild |
29 |
copy to sys-devel/binutils-config/binutils-config-5.4.1.ebuild |
30 |
index 17daaedfeda0..91b67f894d2e 100644 |
31 |
--- a/sys-devel/binutils-config/binutils-config-9999.ebuild |
32 |
+++ b/sys-devel/binutils-config/binutils-config-5.4.1.ebuild |
33 |
@@ -3,11 +3,13 @@ |
34 |
|
35 |
EAPI=7 |
36 |
|
37 |
+inherit prefix |
38 |
+ |
39 |
if [[ ${PV} == 9999 ]]; then |
40 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git" |
41 |
inherit git-r3 |
42 |
else |
43 |
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${P}.tar.xz" |
44 |
+ SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" |
45 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
46 |
fi |
47 |
|
48 |
@@ -27,6 +29,8 @@ src_compile() { |
49 |
|
50 |
src_install() { |
51 |
emake DESTDIR="${D}" PV="${PV}" install |
52 |
+ |
53 |
+ use prefix && eprefixify "${ED}"/usr/bin/${PN} |
54 |
} |
55 |
|
56 |
pkg_postinst() { |
57 |
|
58 |
diff --git a/sys-devel/binutils-config/binutils-config-9999.ebuild b/sys-devel/binutils-config/binutils-config-9999.ebuild |
59 |
index 17daaedfeda0..0282c67448af 100644 |
60 |
--- a/sys-devel/binutils-config/binutils-config-9999.ebuild |
61 |
+++ b/sys-devel/binutils-config/binutils-config-9999.ebuild |
62 |
@@ -7,7 +7,7 @@ if [[ ${PV} == 9999 ]]; then |
63 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git" |
64 |
inherit git-r3 |
65 |
else |
66 |
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${P}.tar.xz" |
67 |
+ SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
69 |
fi |