1 |
commit: cd343d2a2daaa4690372f971a3b6e0773dc69110 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 10 08:33:15 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 10 08:33:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd343d2a |
7 |
|
8 |
sys-boot/palo: Version bump. |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
sys-boot/palo/Manifest | 1 + |
13 |
sys-boot/palo/files/palo-1.96-toolchain.patch | 11 +++++++ |
14 |
sys-boot/palo/palo-1.96.ebuild | 43 +++++++++++++++++++++++++++ |
15 |
3 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest |
18 |
index d133cd9..f88dd22 100644 |
19 |
--- a/sys-boot/palo/Manifest |
20 |
+++ b/sys-boot/palo/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST palo_1.95.tar.xz 102884 SHA256 c168df0255e83f06cf5ae4fd5266f9ee51ba3e9412a9c1bf3131ecff52cec9e8 SHA512 91960a7bbf5a4985809a082d4e75ee25670f6030e701bc106807de4f89c3617e47cf39ef857684b62dcaf906571f6f095b3caa371793754495567f4a14cc8a9d WHIRLPOOL cdf119aa0892fecce4c4dae73053dd9f3c9745a17276012b1d6fb649e3e55eea561dec8f40feb52fb6477f5b289a61844d39c0d8d0ab2ba2a2501c1323b28305 |
23 |
+DIST palo_1.96.tar.xz 102480 SHA256 c5ea19dc90834266cf6cbd576c007899ef6628b843ab16c57ed98eecb6e72cf8 SHA512 d287cae0995f4c1f519fac5a83a5f71645b1382c6fbf5117ab416240adda5227bb58eb33ad384b84dfb2622af76948b48f1ccf83fa408e9d2d1c4fe7fbed299f WHIRLPOOL de57336608c2aa0d9b487e0d6cfac05ba608a6c24ed4c0acf59d7027b667cc161616ac3520afc974fa2c8496d93d2025e2dfa353118a941a356cde5a28bb62bc |
24 |
|
25 |
diff --git a/sys-boot/palo/files/palo-1.96-toolchain.patch b/sys-boot/palo/files/palo-1.96-toolchain.patch |
26 |
new file mode 100644 |
27 |
index 00000000..e0ea926 |
28 |
--- /dev/null |
29 |
+++ b/sys-boot/palo/files/palo-1.96-toolchain.patch |
30 |
@@ -0,0 +1,11 @@ |
31 |
+--- a/palo/Makefile |
32 |
++++ b/palo/Makefile |
33 |
+@@ -34,7 +33,7 @@ |
34 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o |
35 |
+ |
36 |
+ palo.a: $(OFILES) |
37 |
+- ar rv palo.a $? |
38 |
++ $(AR) rv palo.a $? |
39 |
+ |
40 |
+ mkbootable: $(OFILES2) |
41 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o mkbootable $(OFILES2) |
42 |
|
43 |
diff --git a/sys-boot/palo/palo-1.96.ebuild b/sys-boot/palo/palo-1.96.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000..8012878 |
46 |
--- /dev/null |
47 |
+++ b/sys-boot/palo/palo-1.96.ebuild |
48 |
@@ -0,0 +1,43 @@ |
49 |
+# Copyright 1999-2016 Gentoo Foundation |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+# $Id$ |
52 |
+ |
53 |
+EAPI=6 |
54 |
+inherit eutils flag-o-matic toolchain-funcs |
55 |
+ |
56 |
+DESCRIPTION="PALO : PArisc Linux Loader" |
57 |
+HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" |
58 |
+SRC_URI="mirror://debian/pool/main/p/${PN}/${P/-/_}.tar.xz" |
59 |
+ |
60 |
+LICENSE="GPL-2" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="-* ~hppa" |
63 |
+ |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/${PN}-1.96-toolchain.patch |
66 |
+) |
67 |
+ |
68 |
+src_compile() { |
69 |
+ local target |
70 |
+ for target in '-C palo' '-C ipl' 'iplboot'; do |
71 |
+ emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target} |
72 |
+ done |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ into / |
77 |
+ dosbin palo/palo |
78 |
+ |
79 |
+ doman palo.8 |
80 |
+ dodoc TODO debian/changelog README.html |
81 |
+ |
82 |
+ insinto /etc |
83 |
+ doins "${FILESDIR}"/palo.conf |
84 |
+ |
85 |
+ insinto /usr/share/palo |
86 |
+ doins iplboot |
87 |
+ |
88 |
+ insinto /etc/kernel/postinst.d/ |
89 |
+ insopts -m 0744 |
90 |
+ doins "${FILESDIR}"/99palo |
91 |
+} |