1 |
commit: 0f71502657a78ba9336c1b1ce4c225e909ebffda |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 22 03:17:14 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 22 03:20:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f715026 |
7 |
|
8 |
sys-boot/palo: add 2.15 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-boot/palo/Manifest | 1 + |
13 |
.../palo/{palo-9999.ebuild => palo-2.15.ebuild} | 21 ++++++++++++++------- |
14 |
sys-boot/palo/palo-9999.ebuild | 20 +++++++++++++------- |
15 |
3 files changed, 28 insertions(+), 14 deletions(-) |
16 |
|
17 |
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest |
18 |
index cc5d02da506f..8166e4ed1f4a 100644 |
19 |
--- a/sys-boot/palo/Manifest |
20 |
+++ b/sys-boot/palo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST palo-2.14.tar.gz 125207 BLAKE2B fcbc7e59552d83828c07acb055429c1155b738dd12e22c9fc81759b9f84382e3ea793e957421d420c93fa5818d5ad8f12b5317cfe6d5d45d95fc15b272c6fe8c SHA512 9d22ea2826a69a9bb661a4c17aaa78d648f0684b96c2dc0f164d2086f48fc85207e40c69227dd76d153dd171574dd62f6e5e90dd415209de372b4d7d8ab40f57 |
23 |
+DIST palo-2.15.tar.gz 126696 BLAKE2B 38e9defd248fc3e1f9bd921097e0888695a6a815a4221f4b030f225712f206b722232d05f5070b7a76763c50f8a623bb1a3f41c5c84a3999318f3a098d665b14 SHA512 bb46308988399028808d801317421da5a072a504e1c932513a80ee993653f45bd6cbb862c1b85c369506bca3c5d213bf8344ba263fae7ef13d8f73d9d3a6d412 |
24 |
|
25 |
diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-2.15.ebuild |
26 |
similarity index 50% |
27 |
copy from sys-boot/palo/palo-9999.ebuild |
28 |
copy to sys-boot/palo/palo-2.15.ebuild |
29 |
index 1c733273f096..5d425944019f 100644 |
30 |
--- a/sys-boot/palo/palo-9999.ebuild |
31 |
+++ b/sys-boot/palo/palo-2.15.ebuild |
32 |
@@ -1,16 +1,23 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
EAPI=7 |
38 |
-inherit git-r3 toolchain-funcs |
39 |
|
40 |
-DESCRIPTION="PALO : PArisc Linux Loader" |
41 |
-HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" |
42 |
-EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" |
43 |
+inherit toolchain-funcs |
44 |
+ |
45 |
+DESCRIPTION="PALO: PArisc Linux Loader" |
46 |
+HOMEPAGE="https://parisc.wiki.kernel.org/" |
47 |
+if [[ ${PV} == 9999 ]] ; then |
48 |
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" |
49 |
+ inherit git-r3 |
50 |
+else |
51 |
+ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz" |
52 |
+ KEYWORDS="-* ~hppa" |
53 |
+fi |
54 |
|
55 |
LICENSE="GPL-2" |
56 |
SLOT="0" |
57 |
-KEYWORDS="" |
58 |
+KEYWORDS="-* ~hppa" |
59 |
|
60 |
PATCHES=( |
61 |
"${FILESDIR}"/${PN}-2.00-toolchain.patch |
62 |
@@ -19,7 +26,7 @@ PATCHES=( |
63 |
src_compile() { |
64 |
local target |
65 |
for target in '-C palo' '-C ipl' 'iplboot'; do |
66 |
- emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target} |
67 |
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" LD="$(tc-getLD)" ${target} |
68 |
done |
69 |
} |
70 |
|
71 |
|
72 |
diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild |
73 |
index 1c733273f096..2b80fbe60c6d 100644 |
74 |
--- a/sys-boot/palo/palo-9999.ebuild |
75 |
+++ b/sys-boot/palo/palo-9999.ebuild |
76 |
@@ -1,16 +1,22 @@ |
77 |
-# Copyright 1999-2020 Gentoo Authors |
78 |
+# Copyright 1999-2022 Gentoo Authors |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
|
81 |
EAPI=7 |
82 |
-inherit git-r3 toolchain-funcs |
83 |
|
84 |
-DESCRIPTION="PALO : PArisc Linux Loader" |
85 |
-HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" |
86 |
-EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" |
87 |
+inherit toolchain-funcs |
88 |
+ |
89 |
+DESCRIPTION="PALO: PArisc Linux Loader" |
90 |
+HOMEPAGE="https://parisc.wiki.kernel.org/" |
91 |
+if [[ ${PV} == 9999 ]] ; then |
92 |
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" |
93 |
+ inherit git-r3 |
94 |
+else |
95 |
+ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz" |
96 |
+ KEYWORDS="-* ~hppa" |
97 |
+fi |
98 |
|
99 |
LICENSE="GPL-2" |
100 |
SLOT="0" |
101 |
-KEYWORDS="" |
102 |
|
103 |
PATCHES=( |
104 |
"${FILESDIR}"/${PN}-2.00-toolchain.patch |
105 |
@@ -19,7 +25,7 @@ PATCHES=( |
106 |
src_compile() { |
107 |
local target |
108 |
for target in '-C palo' '-C ipl' 'iplboot'; do |
109 |
- emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target} |
110 |
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" LD="$(tc-getLD)" ${target} |
111 |
done |
112 |
} |