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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Jun 28 15:09:36 2012 UTC (6 years, 1 month ago) by cardoe
Branch: MAIN
Version bump. bug #423925

(Portage version: 2.1.11.2/cvs/Linux x86_64)

1 cardoe 1.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     inherit python
10    
11     #BACKPORTS=1
12    
13     if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
14     EGIT_REPO_URI="git://git.seabios.org/seabios.git"
15     inherit git-2
16     KEYWORDS=""
17     SRC_URI=""
18     else
19     KEYWORDS="~amd64 ~x86"
20     SRC_URI="http://www.linuxtogo.org/~kevin/SeaBIOS/${P}.tar.gz
21     ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
22     fi
23    
24     DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
25     HOMEPAGE="http://www.seabios.org"
26    
27     LICENSE="LGPL-3 GPL-3"
28     SLOT="0"
29     IUSE=""
30    
31     DEPEND=""
32     RDEPEND="${DEPEND}
33     !app-emulation/qemu
34     !<=app-emulation/qemu-kvm-0.15.0"
35    
36     pkg_setup() {
37     python_set_active_version 2
38     }
39    
40     src_prepare() {
41     if [[ -z "${EGIT_COMMIT}" ]]; then
42     sed -e "s/VERSION=.*/VERSION=${PV}/" \
43     -i "${S}/Makefile"
44     else
45     sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
46     -i "${S}/Makefile"
47     fi
48     }
49    
50     src_configure() {
51     :
52     }
53    
54     src_compile() {
55     emake out/bios.bin
56     # emake out/vgabios.bin
57     }
58    
59     src_install() {
60     insinto /usr/share/seabios
61     doins out/bios.bin
62     # doins out/vgabios.bin
63     }

  ViewVC Help
Powered by ViewVC 1.1.20