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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Mar 21 19:21:21 2010 UTC (9 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, remove old
(Portage version: 2.1.7.17/cvs/Linux ia64)

1 # Copyright 1999-2007 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.13.ebuild,v 1.3 2007/02/07 14:40:05 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 ABI_ALLOW="sparc32"
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26
27 # Sanitized headers bug #162537
28 sed -i -e 's/linux\/ufs_fs.h/non-linux\/ufs_fs.h/' second/fs/ufs.c
29
30 epatch ${FILESDIR}/silo-1.4.x-noglibc_time.patch
31 }
32
33 src_compile() {
34 filter-flags "-fstack-protector"
35
36 if use hardened
37 then
38 make ${MAKEOPTS} CC="$(tc-getCC) -fno-stack-protector -fno-pic"
39 else
40 make ${MAKEOPTS} CC="$(tc-getCC)" || die
41 fi
42 }
43
44 src_install() {
45 make DESTDIR=${D} install || die
46 dodoc COPYING ChangeLog first-isofs/README.SILO_ISOFS docs/README*
47
48 # Fix maketilo manpage
49 rm ${D}/usr/share/man/man1/maketilo.1
50 dosym /usr/share/man/man1/tilo.1 /usr/share/man/man1/maketilo.1
51 }
52
53 pkg_postinst() {
54 ewarn "NOTE: If this is an upgrade to an existing SILO install,"
55 ewarn " you will need to re-run silo as the /boot/second.b"
56 ewarn " file has changed, else the system will fail to load"
57 ewarn " SILO at the next boot."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20