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

Contents of /sys-apps/seabios/seabios-0.6.3_pre20110817.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 17 22:37:19 2012 UTC (2 years, 3 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove older version.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20