sys-boot/palo: add 2.27

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-01-25 14:51:42 +00:00
parent b72b6dfe03
commit 05d6c18feb
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -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
}