1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils flag-o-matic toolchain-funcs
9 DESCRIPTION="PALO : PArisc Linux Loader"
10 HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/"
11 SRC_URI="https://dev.gentoo.org/~jer/${P/-/_}.tar.gz"
20 "${FILESDIR}"/${PN}-1.92-toolchain.patch
21 sed -i palo/Makefile -e '/^LDFLAGS=/d' || die
26 for target in '-C palo' '-C ipl' 'iplboot'; do
27 emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target}
37 dodoc Changes TODO debian/changelog
40 doins "${FILESDIR}"/palo.conf
42 insinto /usr/share/palo
45 insinto /etc/kernel/postinst.d/
46 INSOPTIONS="-m 0744" doins "${FILESDIR}"/99palo