/[gentoo-x86]/sys-apps/seabios/seabios-1.6.3.ebuild
Gentoo

Contents of /sys-apps/seabios/seabios-1.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jul 28 22:25:53 2012 UTC (2 years ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Moving sys-apps/seabios to sys-firmware/seabios

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/seabios/seabios-1.6.3.ebuild,v 1.5 2012/01/28 15:18:13 phajdan.jr Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8
9 #BACKPORTS=1
10
11 if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
12 EGIT_REPO_URI="git://git.seabios.org/seabios.git"
13 GIT_ECLASS="git-2"
14 SRC_URI=""
15 else
16 SRC_URI="http://www.linuxtogo.org/~kevin/SeaBIOS/${P}.tar.gz
17 ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
18 fi
19
20 inherit ${GIT_ECLASS} python
21
22 if [[ ${PV} != *9999* ]]; then
23 KEYWORDS="amd64 x86"
24 fi
25
26 DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
27 HOMEPAGE="http://www.seabios.org"
28
29 LICENSE="LGPL-3 GPL-3"
30 SLOT="0"
31 IUSE=""
32
33 DEPEND=""
34 RDEPEND="${DEPEND}
35 !app-emulation/qemu
36 !<=app-emulation/qemu-kvm-0.15.0"
37
38 pkg_setup() {
39 python_set_active_version 2
40 }
41
42 src_prepare() {
43 if [[ -z "${EGIT_COMMIT}" ]]; then
44 sed -e "s/VERSION=.*/VERSION=${PV}/" \
45 -i "${S}/Makefile"
46 else
47 sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
48 -i "${S}/Makefile"
49 fi
50 }
51
52 src_configure() {
53 :
54 }
55
56 src_compile() {
57 emake out/bios.bin
58 # emake out/vgabios.bin
59 }
60
61 src_install() {
62 insinto /usr/share/seabios
63 doins out/bios.bin
64 # doins out/vgabios.bin
65 }

  ViewVC Help
Powered by ViewVC 1.1.20