diff options
author | 2012-08-20 18:54:40 +0000 | |
---|---|---|
committer | 2012-08-20 18:54:40 +0000 | |
commit | 9e1127ce50cb47757d4c7077a410288d11f68bf8 (patch) | |
tree | 0538e31397a3e3ca6f108cbfec8805d1c9c402f5 /sys-boot/silo/silo-1.4.14_p20120819.ebuild | |
parent | Stable for x86, wrt bug #429042 (diff) | |
download | historical-9e1127ce50cb47757d4c7077a410288d11f68bf8.tar.gz historical-9e1127ce50cb47757d4c7077a410288d11f68bf8.tar.bz2 historical-9e1127ce50cb47757d4c7077a410288d11f68bf8.zip |
Version bump, straight to stable since it fixes issues with the previous version
Package-Manager: portage-2.1.11.5/cvs/Linux ia64
RepoMan-Options: --force
Diffstat (limited to 'sys-boot/silo/silo-1.4.14_p20120819.ebuild')
-rw-r--r-- | sys-boot/silo/silo-1.4.14_p20120819.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/sys-boot/silo/silo-1.4.14_p20120819.ebuild b/sys-boot/silo/silo-1.4.14_p20120819.ebuild new file mode 100644 index 000000000000..7045cc247ee8 --- /dev/null +++ b/sys-boot/silo/silo-1.4.14_p20120819.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.14_p20120819.ebuild,v 1.1 2012/08/20 18:54:40 armin76 Exp $ + +inherit mount-boot flag-o-matic toolchain-funcs eutils + +DEB_PL="1" +MY_PV="${PV##*_p}" +MY_GIT="git${MY_PV%%_*}" +MY_PV="${PV%%_*}" +MY_P="${PN}_${MY_PV}+${MY_GIT}" + +DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" +SRC_URI="mirror://debian/pool/main/s/${PN}/${MY_P}.orig.tar.gz + mirror://debian/pool/main/s/${PN}/${MY_P}-${DEB_PL}.diff.gz" +HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-* sparc" +IUSE="" + +DEPEND="sys-fs/e2fsprogs + sys-apps/sparc-utils" +RDEPEND="" + +ABI_ALLOW="sparc32" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + #Set the correct version + sed -i -e "s/1.4.14/1.4.14_git2012226_p1/g" Rules.make + + # Fix build failure + sed -i -e "s/-fno-strict-aliasing/-fno-strict-aliasing -U_FORTIFY_SOURCE -mcpu=v9/g" Rules.make +} + +src_compile() { + filter-flags "-fstack-protector" + + make ${MAKEOPTS} CC="$(tc-getCC)" || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc first-isofs/README.SILO_ISOFS docs/README* + + # Fix maketilo manpage + rm "${D}"/usr/share/man/man1/maketilo.1 + dosym /usr/share/man/man1/tilo.1 /usr/share/man/man1/maketilo.1 +} + +pkg_postinst() { + mount-boot_pkg_postinst + ewarn "NOTE: If this is an upgrade to an existing SILO install," + ewarn " you will need to re-run silo as the /boot/second.b" + ewarn " file has changed, else the system will fail to load" + ewarn " SILO at the next boot." + ewarn +} |