summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-23 23:15:15 +0100
committerSam James <sam@gentoo.org>2022-04-23 23:16:43 +0100
commita0bdfcae86d9c4283917f2029a531c71e402131b (patch)
treedc625391d861a1cea49115c7c5b0cf77550e7e97
parentsys-kernel/vanilla-sources: drop 5.16.20. 5.16.X is EOL (diff)
downloadgentoo-a0bdfcae86d9c4283917f2029a531c71e402131b.tar.gz
gentoo-a0bdfcae86d9c4283917f2029a531c71e402131b.tar.bz2
gentoo-a0bdfcae86d9c4283917f2029a531c71e402131b.zip
sys-boot/palo: add 2.16
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-boot/palo/Manifest1
-rw-r--r--sys-boot/palo/palo-2.16.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest
index 8166e4ed1f4a..2bc5869eabcf 100644
--- a/sys-boot/palo/Manifest
+++ b/sys-boot/palo/Manifest
@@ -1,2 +1,3 @@
DIST palo-2.14.tar.gz 125207 BLAKE2B fcbc7e59552d83828c07acb055429c1155b738dd12e22c9fc81759b9f84382e3ea793e957421d420c93fa5818d5ad8f12b5317cfe6d5d45d95fc15b272c6fe8c SHA512 9d22ea2826a69a9bb661a4c17aaa78d648f0684b96c2dc0f164d2086f48fc85207e40c69227dd76d153dd171574dd62f6e5e90dd415209de372b4d7d8ab40f57
DIST palo-2.15.tar.gz 126696 BLAKE2B 38e9defd248fc3e1f9bd921097e0888695a6a815a4221f4b030f225712f206b722232d05f5070b7a76763c50f8a623bb1a3f41c5c84a3999318f3a098d665b14 SHA512 bb46308988399028808d801317421da5a072a504e1c932513a80ee993653f45bd6cbb862c1b85c369506bca3c5d213bf8344ba263fae7ef13d8f73d9d3a6d412
+DIST palo-2.16.tar.gz 126696 BLAKE2B 06da7401d555eb0a468241e2fd71174ebfbe0b3d80d8758e65dfb57831f211dfc77128c4f3babb08ff0f99eafaec58e086751311936ee1a78a569dec50b574e2 SHA512 82f8bfe23e4722e3ee12a51b2c8691720fdc6caab368c294b0069435ba5ed07ac3e582c815bfce58fe320dd18d850bc7b1891e532429427e3735c82e32659360
diff --git a/sys-boot/palo/palo-2.16.ebuild b/sys-boot/palo/palo-2.16.ebuild
new file mode 100644
index 000000000000..2956c2939a97
--- /dev/null
+++ b/sys-boot/palo/palo-2.16.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="PALO: PArisc Linux Loader"
+HOMEPAGE="https://parisc.wiki.kernel.org/"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git"
+ inherit git-r3
+else
+ SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz"
+ KEYWORDS="-* ~hppa"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.00-toolchain.patch
+)
+
+src_compile() {
+ local target
+ for target in '-C palo' '-C ipl' 'iplboot'; do
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" LD="$(tc-getLD)" ${target}
+ done
+}
+
+src_install() {
+ into /
+ dosbin palo/palo
+
+ insinto /usr/share/palo
+ doins iplboot
+
+ insinto /etc
+ doins "${FILESDIR}"/palo.conf
+
+ insinto /etc/kernel/postinst.d
+ insopts -m 0744
+ doins "${FILESDIR}"/99palo
+
+ doman palo.8
+
+ dodoc TODO debian/changelog README.html
+}