From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-boot/mbr-gpt: mbr-gpt-0.0.1.ebuild metadata.xml ChangeLog Manifest |
Date: | Tue, 25 Mar 2008 08:40:47 |
Message-Id: | E1Je4i4-0000ux-Gg@stork.gentoo.org |
1 | robbat2 08/03/25 08:40:44 |
2 | |
3 | Added: mbr-gpt-0.0.1.ebuild metadata.xml ChangeLog |
4 | Manifest |
5 | Log: |
6 | Initial commit. Ebuild by Robin H. Johnson <robbat2@g.o>. This is useful for testing crazy GPT setups. |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mbr-gpt-0.0.1.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2008 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/sys-boot/mbr-gpt/mbr-gpt-0.0.1.ebuild,v 1.1 2008/03/25 08:40:43 robbat2 Exp $ |
20 | |
21 | inherit eutils flag-o-matic |
22 | |
23 | DESCRIPTION="An MBR that can handle BIOS-based boot on GPT." |
24 | MY_P="${PN}_${PV}" |
25 | HOMEPAGE="http://aybabtu.com/mbr-gpt/" |
26 | SRC_URI="http://aybabtu.com/mbr-gpt/${MY_P}.tar.gz" |
27 | LICENSE="GPL-2" |
28 | SLOT="0" |
29 | # This should probably NEVER go to stable. It's crazy advanced dangerous magic. |
30 | # It's also pure ASM, so not suitable for elsewhere anyway. |
31 | KEYWORDS="~x86 ~amd64" |
32 | IUSE="" |
33 | # It only depends on binutils/gcc/make, and doesn't link against libc even. |
34 | DEPEND="" |
35 | RDEPEND="" |
36 | |
37 | # It's a mostly an MBR block and it does use the executable stack. |
38 | QA_WX_LOAD="usr/sbin/boot.elf" |
39 | |
40 | src_unpack() { |
41 | unpack ${A} |
42 | cd "${S}" |
43 | emake clean |
44 | |
45 | # Need to build it 32-bit for the MBR |
46 | # Btw, no CFLAGS are respected, it's ASM! |
47 | use amd64 && sed -i -e 's/-Wall/-Wall -m32/g' "${S}"/Makefile |
48 | } |
49 | |
50 | src_compile() { |
51 | emake CC="$(tc-getCC)" |
52 | } |
53 | |
54 | src_install() { |
55 | # get_libdir is not correct here. We want this to go into a 32-bit library |
56 | # location. |
57 | insinto /usr/lib/mbr-gpt/ |
58 | doins mbr |
59 | dosbin boot.elf |
60 | dodoc AUTHORS |
61 | } |
62 | |
63 | pkg_postinst() { |
64 | einfo "See the instructions on the homepage, and make sure you know what" |
65 | einfo "you are doing before touching this. The mbr file does into your" |
66 | einfo "MBR, or alternatively you can do a creative reboot utilizing the" |
67 | einfo "boot.elf binary." |
68 | } |
69 | |
70 | |
71 | |
72 | 1.1 sys-boot/mbr-gpt/metadata.xml |
73 | |
74 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/metadata.xml?rev=1.1&view=markup |
75 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/metadata.xml?rev=1.1&content-type=text/plain |
76 | |
77 | Index: metadata.xml |
78 | =================================================================== |
79 | <?xml version="1.0" encoding="UTF-8"?> |
80 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
81 | <pkgmetadata> |
82 | <herd>base-system</herd> |
83 | <maintainer> |
84 | <email>robbat2@g.o</email> |
85 | </maintainer> |
86 | </pkgmetadata> |
87 | |
88 | |
89 | |
90 | 1.1 sys-boot/mbr-gpt/ChangeLog |
91 | |
92 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/ChangeLog?rev=1.1&view=markup |
93 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/ChangeLog?rev=1.1&content-type=text/plain |
94 | |
95 | Index: ChangeLog |
96 | =================================================================== |
97 | # ChangeLog for sys-boot/mbr-gpt |
98 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
99 | # $Header: /var/cvsroot/gentoo-x86/sys-boot/mbr-gpt/ChangeLog,v 1.1 2008/03/25 08:40:43 robbat2 Exp $ |
100 | |
101 | *mbr-gpt-0.0.1 (25 Mar 2008) |
102 | |
103 | 25 Mar 2008; Robin H. Johnson <robbat2@g.o> +metadata.xml, |
104 | +mbr-gpt-0.0.1.ebuild: |
105 | Initial commit. Ebuild by Robin H. Johnson <robbat2@g.o>. This is |
106 | useful for testing crazy GPT setups. |
107 | |
108 | |
109 | |
110 | |
111 | 1.1 sys-boot/mbr-gpt/Manifest |
112 | |
113 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/Manifest?rev=1.1&view=markup |
114 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/mbr-gpt/Manifest?rev=1.1&content-type=text/plain |
115 | |
116 | Index: Manifest |
117 | =================================================================== |
118 | DIST mbr-gpt_0.0.1.tar.gz 15861 RMD160 1d61afc95e558951709b604e6695a0cfbbf9d5f7 SHA1 e9cd243b8f139169edaf18ea5562a198270a7746 SHA256 c66cc48c6034f1db72ddba187a52f590001a946f87478171b3d362b601b26bc2 |
119 | EBUILD mbr-gpt-0.0.1.ebuild 1404 RMD160 e8b1186634990b139b1b0483c9802ca1bfc1e987 SHA1 40f24b4fc00849bad3a7ce6a54876c31937b04d1 SHA256 81be773fb0f060c0c52b13e567b53f690996a158fd5d9da9d343c50a875cd490 |
120 | MISC ChangeLog 355 RMD160 fb20be9e2d97d9008e8d3292cc249bc3664463c3 SHA1 a6647f723af382a3baf647bea12d972a1ab568ab SHA256 9d5b99e7a7fb89eee4dafbab5219dc3884e75bc9d4b3c90699c0f967b7e2723e |
121 | MISC metadata.xml 227 RMD160 e54f63c709ba122fa8d5931652deb3821a967981 SHA1 84c05df3fda91de26beaaf15ffdbf4ea15b3784b SHA256 eb6179099f91f31168c95bd4a018a01f37aa1eb8d9ba8d3ed039056bac71bcf8 |
122 | |
123 | |
124 | |
125 | -- |
126 | gentoo-commits@l.g.o mailing list |