diff options
Diffstat (limited to 'sys-firmware/sgabios/sgabios-0.1_pre8.ebuild')
-rw-r--r-- | sys-firmware/sgabios/sgabios-0.1_pre8.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild b/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild new file mode 100644 index 000000000000..615f935782d3 --- /dev/null +++ b/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.1 2012/07/28 22:13:54 cardoe Exp $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="serial graphics adapter bios option rom for x86" +HOMEPAGE="http://code.google.com/p/sgabios/" +SRC_URI="mirror://gentoo/${P}.tar.xz + http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.xz + http://dev.gentoo.org/~cardoe/distfiles/${P}-bins.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + if use amd64 || use x86 ; then + emake + fi +} + +src_install() { + insinto /usr/share/sgabios + + if use amd64 || use x86 ; then + doins sgabios.bin + else + doins bins/sgabios.bin + fi +} |