commit:     05d6c18febbe89f37a1d835c95d19afa7fcd8716
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 14:51:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 14:51:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d6c18f

sys-boot/palo: add 2.27

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-boot/palo/Manifest         |  1 +
 sys-boot/palo/palo-2.27.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest
index 402a7081d8c8..f45ea30c68b7 100644
--- a/sys-boot/palo/Manifest
+++ b/sys-boot/palo/Manifest
@@ -1 +1,2 @@
 DIST palo-2.24.tar.gz 132587 BLAKE2B 
a24bd6b70cf395b1254c280821f92eb00e02cb2dc0cc142e7bb706361c86a2fd45424f832d6c3ff383f02bde3eccc6e250a7ee279af3977b5bc2b2576e6ac9d0
 SHA512 
e520eff46798b7b94eed081c6310b1dfda07918e5f31ce140095b6742d81b85e62a657aa3761f9a3819ad7c8897d548af8fdd85b43997386c2ec6ace6fbf1b2e
+DIST palo-2.27.tar.gz 133284 BLAKE2B 
d30677ebe1945a4ddb0397326d7ecd3c5795a8affd0e8438e8c8814c11726f4bc5873afdfdc27bf32b416cd3c6d5471fca548f6ec8a12d40d1d1d6f1fa0d1fe7
 SHA512 
3f461d3df3a8cc22c9d07346df9b941c53fdcaf14962cd8f7e5d890b4e9ede7503daf501116e0ec30a1688bfbd5ef24614b84e863b7b07f7a32a1d604d1e7a55

diff --git a/sys-boot/palo/palo-2.27.ebuild b/sys-boot/palo/palo-2.27.ebuild
new file mode 100644
index 000000000000..ad262fba0253
--- /dev/null
+++ b/sys-boot/palo/palo-2.27.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="PALO: PArisc Linux Loader"
+HOMEPAGE="https://parisc.wiki.kernel.org/ 
https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git/";
+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
+}

Reply via email to