sys-boot/palo: add 2.24

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-06-02 03:12:27 +01:00
parent 6dedf8b5ca
commit e000110e26
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST palo-2.22.tar.gz 130037 BLAKE2B bbca5662ecc0d67bb8af478ee67f5d872888170b0072d6b2620b3c6ca61e52f6519209b620ffb1dfc40d1e746b522dc89118e292fd5cb78e9f3ba7eec7277a2b SHA512 817bf2dc40d01464aa943cd5495950b89196628f2ef002f6334bbc526515d9e4885532821bf18134b7d4b3adbd20d850ee2d6c2350a663f432d567ac56ef7a90
DIST palo-2.24.tar.gz 132587 BLAKE2B a24bd6b70cf395b1254c280821f92eb00e02cb2dc0cc142e7bb706361c86a2fd45424f832d6c3ff383f02bde3eccc6e250a7ee279af3977b5bc2b2576e6ac9d0 SHA512 e520eff46798b7b94eed081c6310b1dfda07918e5f31ce140095b6742d81b85e62a657aa3761f9a3819ad7c8897d548af8fdd85b43997386c2ec6ace6fbf1b2e

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2023 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
}