mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
@@ -1 +1,2 @@
|
||||
DIST palo-2.28.tar.gz 133331 BLAKE2B 4e67528156813191cc334bc9e461f9741eee93ce2a9cf0edc1271c26f8515b7a1d3657478e6476d2d910f2e8a0e042583159e01c106b3eb034d944677f2296d5 SHA512 27188bbe654fa8c2f5ed30b9927db7957dfae450f1df5dcc7ff306520c4092c225c233cefeac5d9813663490a3ae703907ad92d3f12d87f853587ef7bbba5f50
|
||||
DIST palo-2.29.tar.gz 134680 BLAKE2B 9f6c88e052466bf4e155bf7531b9f25a2018e795af68c348e7f334b787aa1c4e4d9338bde0580d5e5378d5c72405fdef0527d884c6d39720cc3b2473a7b3c4e3 SHA512 d45b095a1168933febb704df208e9b2e8a16de093bd726a1f867dbf3a39c7bde302fb1263082a1f78c1cf9275a0792afd49e91a0c6519f3c9fc597e22604404f
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 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.28-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
|
||||
}
|
||||
Reference in New Issue
Block a user