/[gentoo-x86]/sys-boot/silo/silo-1.4.6.ebuild
Gentoo

Contents of /sys-boot/silo/silo-1.4.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Apr 26 02:15:57 2005 UTC (14 years, 9 months ago) by gustavoz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Cleanup, sent 1.4.9 to stable
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.6.ebuild,v 1.6 2005/03/28 13:35:56 gustavoz Exp $
4
5 inherit mount-boot flag-o-matic toolchain-funcs
6
7 DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc"
8 SRC_URI="http://www.sparc-boot.org/pub/silo/${P}.tar.gz"
9 HOMEPAGE="http://www.sparc-boot.org"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="-* ~sparc"
14 IUSE="hardened"
15
16 PROVIDE="virtual/bootloader"
17
18 DEPEND="sys-fs/e2fsprogs
19 sys-apps/sparc-utils"
20
21 src_compile() {
22 filter-flags "-fstack-protector"
23
24 if use hardened
25 then
26 make ${MAKEOPTS} CC="$(tc-getCC) -fno-stack-protector -fno-pic"
27 else
28 make ${MAKEOPTS} || die
29 fi
30 }
31
32 src_install() {
33 make DESTDIR=${D} install || die
34 dodoc COPYING ChangeLog first-isofs/README.SILO_ISOFS docs/README*
35
36 # Fix maketilo manpage
37 rm ${D}/usr/share/man/man1/maketilo.1
38 dosym /usr/share/man/man1/tilo.1 /usr/share/man/man1/maketilo.1
39 }
40
41 pkg_postinst() {
42 ewarn "NOTE: If this is an upgrade to an existing SILO install,"
43 ewarn " you will need to re-run silo as the /boot/second.b"
44 ewarn " file has changed, else the system will fail to load"
45 ewarn " SILO at the next boot."
46 }

  ViewVC Help
Powered by ViewVC 1.1.20